mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 18:55:28 +00:00
make heading on warn message smaller
This commit is contained in:
parent
cb539b9810
commit
3062d8e999
|
@ -36,7 +36,7 @@ export default {
|
||||||
let { userWarnCount } = await storeInfraction(infraction);
|
let { userWarnCount } = await storeInfraction(infraction);
|
||||||
|
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
message.reply(`## User warned.\n`
|
message.reply(`### User warned.\n`
|
||||||
+ `This is ${userWarnCount == 1 ? '**the first warn**' : `warn number **${userWarnCount}**`}`
|
+ `This is ${userWarnCount == 1 ? '**the first warn**' : `warn number **${userWarnCount}**`}`
|
||||||
+ ` for ${user.username ?? 'this user'}.\n`
|
+ ` for ${user.username ?? 'this user'}.\n`
|
||||||
+ `**Infraction ID:** \`${infraction._id}\`\n`
|
+ `**Infraction ID:** \`${infraction._id}\`\n`
|
||||||
|
|
Loading…
Reference in a new issue