From e101d780e71dbaf82c1bbfdde699cf810c6680a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 31 Oct 2019 23:45:58 +0200 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 4548ea13..3e0ddb71 100644 --- a/commands/forcestop.js +++ b/commands/forcestop.js @@ -4,7 +4,7 @@ module.exports = { alias: 'fs', cooldown: 5, execute(message, args, client, Discord, prefix) { - if (message.author.id !== client.global.devId) return message.channel.send(':x: You are not allowed to do that!') + if (message.author.id !== client.config.devId) return message.channel.send(':x: You are not allowed to do that!') client.queue.delete(message.guild.id); message.channel.send('queue deleted') }