Updated description

This commit is contained in:
Loïc Bersier 2018-09-08 22:30:50 +02:00
parent c092aacda2
commit 557fb214ca

View file

@ -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());
}); });
} }
}
}; };