This commit is contained in:
Loïc Bersier 2018-09-08 00:37:50 +02:00
parent 64477560fd
commit f1fc195897

View file

@ -20,7 +20,7 @@ module.exports = class MusicCommand extends Command {
run(message, { ytblink }) { run(message, { ytblink }) {
const { voiceChannel } = message.member; const { voiceChannel } = message.member;
if (!voiceChannel && ytblink == 'stop') { if (ytblink == 'stop') {
voiceChannel.leave() voiceChannel.leave()
} else } else
if (!voiceChannel) { if (!voiceChannel) {