From 17a3ea3ae181921f573f03453d101eec50859360 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Sat, 3 Aug 2019 20:32:04 +0300 Subject: [PATCH] Update volume.js --- commands/volume.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/volume.js b/commands/volume.js index e1113250..d9179fdf 100644 --- a/commands/volume.js +++ b/commands/volume.js @@ -6,7 +6,7 @@ module.exports = { const { voiceChannel } = message.member; const serverQueue = client.queue.get(message.guild.id); const permissions = message.channel.permissionsFor(message.author); - if (message.member.id === '384002606621655040') return msg.channel.send('You are not doying that!'); + if (message.author.id === '384002606621655040') return msg.channel.send('You are not doying that!'); if (!serverQueue) return message.channel.send(':x: There is nothing playing.'); if (!args[1]) return message.channel.send(`:loud_sound: The current volume is: **${serverQueue.volume}**`); if (!voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in a voice channel to change the volume!');