From 81e8c6088d82ff8e3d54fe8fb739ce6a3f334dd7 Mon Sep 17 00:00:00 2001 From: TheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com> Date: Sun, 11 Mar 2018 19:09:40 -0400 Subject: more exclusive commands --- commands/Moderation/interrogate.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'commands/Moderation/interrogate.js') diff --git a/commands/Moderation/interrogate.js b/commands/Moderation/interrogate.js index c2b2215..d68e68a 100644 --- a/commands/Moderation/interrogate.js +++ b/commands/Moderation/interrogate.js @@ -19,6 +19,8 @@ * *************************************/ exports.run = async (bot, msg) => { + if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!'); + if (!msg.member.hasPermission('BAN_MEMBERS')) return msg.reply('You don\'t have permission to interrogate others. Rip-off detectives...'); if (!msg.guild.member(bot.user).hasPermission('MANAGE_ROLES')) return msg.reply('I cannot interrogate anyone.'); -- cgit v1.2.3