mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 10:45:27 +00:00
another typo
This commit is contained in:
parent
b8804353c5
commit
2a10d081a0
|
@ -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}\``));
|
||||
|
||||
|
|
Loading…
Reference in a new issue