diff --git a/index.js b/index.js index 7d54da8..9e4faab 100644 --- a/index.js +++ b/index.js @@ -146,7 +146,7 @@ async function ban(message) { .then(userReaction => { const reaction = userReaction.first(); if (reaction.emoji.name === '👍') { - message.guild.members.cache.ban(member.user).then(user => message.reply(`<@${user.id}> has been banned!`);).catch(() => message.channel.send(`Unfortunately, I don't have the ability to ban ${member.user.username}, likely because their role is higher than mine.`)); + message.guild.members.cache.ban(member.user).then(user => message.reply(`<@${user.id}> has been banned!`)).catch(() => message.channel.send(`Unfortunately, I don't have the ability to ban ${member.user.username}, likely because their role is higher than mine.`)); } else { message.reply("phew! ${member}'s safe!"); }