Updated description
This commit is contained in:
parent
c092aacda2
commit
557fb214ca
1 changed files with 14 additions and 14 deletions
|
@ -19,7 +19,6 @@ module.exports = class MusicCommand extends Command {
|
||||||
|
|
||||||
run(message, { ytblink }) {
|
run(message, { ytblink }) {
|
||||||
const { voiceChannel } = message.member;
|
const { voiceChannel } = message.member;
|
||||||
|
|
||||||
if (!voiceChannel) {
|
if (!voiceChannel) {
|
||||||
return message.reply('please join a voice channel first!');
|
return message.reply('please join a voice channel first!');
|
||||||
}
|
}
|
||||||
|
@ -35,4 +34,5 @@ module.exports = class MusicCommand extends Command {
|
||||||
dispatcher.on('end', () => voiceChannel.leave());
|
dispatcher.on('end', () => voiceChannel.leave());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
Loading…
Reference in a new issue