From 0e046a775790ef7339072e57c5a33f881d0fd1ed Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Wed, 4 Mar 2020 18:21:20 +0200 Subject: [PATCH] Update end.js --- commands/end.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/end.js b/commands/end.js index 114f06ef..93622d17 100644 --- a/commands/end.js +++ b/commands/end.js @@ -7,7 +7,7 @@ module.exports = { permission: 'dev', category: 'util', async execute(msg, args, client, Discord, prefix, command) { - client.queue.delete(guild.id); + client.queue.delete(msg.guild.id); msg.channel.send('Queue deleted!'); } };