From f1fc1958973d95dbc3309a909301c2352842b632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sat, 8 Sep 2018 00:37:50 +0200 Subject: [PATCH] --- commands/fun/music.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/music.js b/commands/fun/music.js index 7133a39f..0700af3f 100644 --- a/commands/fun/music.js +++ b/commands/fun/music.js @@ -20,7 +20,7 @@ module.exports = class MusicCommand extends Command { run(message, { ytblink }) { const { voiceChannel } = message.member; - if (!voiceChannel && ytblink == 'stop') { + if (ytblink == 'stop') { voiceChannel.leave() } else if (!voiceChannel) {