📝
discord.js ボイスチャンネルステータスを変更する方法
はじめに
discord.jsを使っていてボイスチャンネルのステータスを変える方法が無かったので備忘録として
実際のコード
const channelId = "channelId";
const status = "雑談中です";
await client.rest.put(`/channels/${channelId}/voice-status`, {
body: {
status: status,
}
});
Discussion