remove duplicate @ on ban message

This commit is contained in:
janderedev 2022-03-16 17:49:08 +01:00
parent ad5ca98091
commit c786adbf28
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A

View file

@ -85,7 +85,7 @@ export default {
.catch(e => message.reply(`Failed to ban user: \`${e}\``));
await Promise.all([
message.reply(`### @${targetName} has been ${Math.random() > 0.8 ? 'ejected' : 'banned'}.\n`
message.reply(`### ${targetName} has been ${Math.random() > 0.8 ? 'ejected' : 'banned'}.\n`
+ `Infraction ID: \`${infId}\` (**#${userWarnCount}** for this user)`),
logModAction('ban', message.serverContext, message.member!, targetUser._id, reason, infraction, `Ban duration: **Permanent**`),
]);