From 82b2bc99163ad1b5a47f6f020f7c0d0b77da93e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 31 Oct 2019 23:45:16 +0200 Subject: [PATCH] Update resume.js --- commands/resume.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/resume.js b/commands/resume.js index 152d9c75..fddc4e55 100644 --- a/commands/resume.js +++ b/commands/resume.js @@ -8,7 +8,7 @@ module.exports = { const permissions = message.channel.permissionsFor(message.author); const { voiceChannel } = message.member; if (serverQueue && !serverQueue.playing) { - if (message.author.id !== client.global.devId) { + if (message.author.id !== client.config.devId) { if (voiceChannel !== serverQueue.voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in the same voice channel as Musix to loop the queue!'); if (client.global.db.guilds[message.guild.id].permissions === true) { if (client.global.db.guilds[message.guild.id].dj) {