Fixed leaving voice channels

This commit is contained in:
hydrabolt
2015-11-09 18:34:03 +00:00
parent 544f7da139
commit bb716480b1
3 changed files with 25 additions and 0 deletions

View File

@@ -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;