mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
Fixed leaving voice channels
This commit is contained in:
@@ -20,6 +20,9 @@ client.on("message", m => {
|
||||
client.internal.voiceConnection.stopPlaying();
|
||||
}
|
||||
return;
|
||||
}if (m.content.startsWith("$$$ leave")) {
|
||||
client.internal.leaveVoiceChannel();
|
||||
return;
|
||||
}
|
||||
if (m.content.startsWith("$$$")) {
|
||||
var chan;
|
||||
|
||||
Reference in New Issue
Block a user