make heading on warn message smaller

This commit is contained in:
JandereDev 2021-12-02 21:12:57 +01:00
parent cb539b9810
commit 3062d8e999
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A

View file

@ -36,7 +36,7 @@ export default {
let { userWarnCount } = await storeInfraction(infraction);
await Promise.all([
message.reply(`## User warned.\n`
message.reply(`### User warned.\n`
+ `This is ${userWarnCount == 1 ? '**the first warn**' : `warn number **${userWarnCount}**`}`
+ ` for ${user.username ?? 'this user'}.\n`
+ `**Infraction ID:** \`${infraction._id}\`\n`