another typo

This commit is contained in:
JandereDev 2021-12-06 22:28:07 +01:00
parent b8804353c5
commit 2a10d081a0
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A

View file

@ -61,7 +61,7 @@ export default {
if (banDuration == 0) {
message.serverContext.banUser(targetUser._id, {
reason: reason + ` (by @${await fetchUsername(message.author_id)} ${message.author_id})`
reason: reason + ` (by ${await fetchUsername(message.author_id)} ${message.author_id})`
})
.catch(e => message.reply(`Failed to ban user: \`${e}\``));
@ -81,7 +81,7 @@ export default {
+ `Infraction ID: \`${infId}\` (**#${userWarnCount}** for this user)`);
} else {
message.serverContext.banUser(targetUser._id, {
reason: reason + ` (by @${await fetchUsername(message.author_id)} ${message.author_id}) (${durationStr})`
reason: reason + ` (by ${await fetchUsername(message.author_id)} ${message.author_id}) (${durationStr})`
})
.catch(e => message.reply(`Failed to ban user: \`${e}\``));