diff --git a/bot.js b/bot.js index ae49069..9508c8b 100644 --- a/bot.js +++ b/bot.js @@ -500,7 +500,7 @@ async function ban(message) { verificationEmbed.react(''); verificationEmbed.react(''); const filter = (reaction, user) => { - return ['anim_check', 'anim_cross'].includes(reaction.emoji.name) && message.guild.members.cache.get(user.id).hasPermission('ADMINISTRATOR') && !user.bot; + return ['anim_check', 'anim_cross'].includes(reaction.emoji.name) && message.author.id === user.id && !user.bot; }; verificationEmbed.awaitReactions(filter, { max: 1 }) .then(userReaction => {