diff --git a/cmds/moderation/unban.js b/cmds/moderation/unban.js index fcd9ca5..f961358 100644 --- a/cmds/moderation/unban.js +++ b/cmds/moderation/unban.js @@ -15,8 +15,8 @@ module.exports = class unbanCmd extends commando.Command { async run(msg, arg) { const CL = msg.guild.member(msg.client.user); - if (!(msg.member.idAdmin || msg.member.hasPermission("ADMINISTRATOR"))) return trySend(msg.client, msg, "are they your friend? <:nekokekLife:852865942530949160>"); - if (!(CL.idAdmin || CL.hasPermission("ADMINISTRATOR"))) return trySend(msg.client, msg, "I don't have the power to do that <:pepewhysobLife:853237646666891274>"); + if (!msg.member.idAdmin) return trySend(msg.client, msg, "are they your friend? <:nekokekLife:852865942530949160>"); + if (!CL.idAdmin) return trySend(msg.client, msg, "I don't have the power to do that <:pepewhysobLife:853237646666891274>"); if (!arg) return trySend(msg.client, msg, "Provide `user_ID` to unban. Separate `user` with `,`. Example:```js\n" + `${msg.guild.commandPrefix + this.name} 757453290714824844, 706039105540194314, 198558078508072960 ` + `-- sent me some nice materials for tonight\`\`\``);