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') } };