diff --git a/commands/playlist.js b/commands/playlist.js index 92a047fe..afb199b2 100644 --- a/commands/playlist.js +++ b/commands/playlist.js @@ -19,7 +19,7 @@ module.exports = { .setAuthor(client.user.username, client.user.displayAvatarURL) .setColor('#b50002') const permissions = message.channel.permissionsFor(message.author); - if (message.author.id !== client.global.devId) { + if (message.author.id !== client.config.devId) { if (client.global.db.guilds[message.guild.id].dj) { if (!message.member.roles.has(client.global.db.guilds[message.guild.id].djrole)) return message.channel.send(':x: You need the `DJ` role to modify or play the playlist!'); } else if (!permissions.has('MANAGE_GUILD')) return message.channel.send(':x: You need the `MANAGE_SERVER` permission to modify the playlist!');