This commit is contained in:
parent
64477560fd
commit
f1fc195897
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue