📝 Correction

This commit is contained in:
Zerio
2020-12-12 16:12:05 +01:00
parent df45502d7b
commit 7b9aeba8ba
13 changed files with 26 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ module.exports = {
execute(client, message) {
if (!message.member.voice.channel) return message.channel.send(`${client.emotes.error} - You're not in a voice channel !`);
if (message.guild.me.voice.channel && message.member.voice.channel.id !== message.guild.me.voice.channel.id) return message.channel.send(`${client.emotes.error} - You are not in the same voice channel !`);
if (!client.player.getQueue(message)) return message.channel.send(`${client.emotes.error} - No music currently playing !`);
if (client.player.getQueue(message).repeatMode) {