From a9909c947c221d33615b945ab39b50692b5502a9 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Sat, 3 Aug 2019 20:27:18 +0300 Subject: [PATCH] Update volume.js --- commands/volume.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/volume.js b/commands/volume.js index 5b1776bb..e1113250 100644 --- a/commands/volume.js +++ b/commands/volume.js @@ -6,6 +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 (!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!');