From 52de7012d36181e1a9f7eddf3835466f82fb4340 Mon Sep 17 00:00:00 2001 From: Matte <51192395+MatteZ02@users.noreply.github.com> Date: Sun, 20 Oct 2019 20:54:32 +0300 Subject: [PATCH] Update forcestop.js --- commands/forcestop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/forcestop.js b/commands/forcestop.js index 832f70ca..415e4a23 100644 --- a/commands/forcestop.js +++ b/commands/forcestop.js @@ -4,7 +4,7 @@ module.exports = { cooldown: 5, execute(message, args, client, Discord, prefix) { if (message.author.id !== '360363051792203779') return message.channel.send(':x: You are not allowed to do that!') - client.queue.delete(guild.id); + client.queue.delete(message.guild.id); message.channel.send('queue deleted') } };