forgot to commit this

This commit is contained in:
JandereDev 2021-12-22 09:14:05 +01:00
parent f9fff4d4f1
commit 5731b1f254
Signed by: Lea
GPG key ID: 5D5E18ACB990F57A

View file

@ -1,5 +1,4 @@
import Command from "../../struct/Command";
import { Message } from "@janderedev/revolt.js/dist/maps/Messages";
import { isModerator, NO_MANAGER_MSG, parseUser, storeInfraction } from "../util";
import Infraction from "../../struct/antispam/Infraction";
import { ulid } from "ulid";
@ -43,7 +42,7 @@ export default {
+ ` for ${user.username ?? 'this user'}.\n`
+ `**Infraction ID:** \`${infraction._id}\`\n`
+ `**Reason:** \`${infraction.reason}\``),
logModAction('warn', message.member!, user, reason, `This is warn number **${userWarnCount}** for this user.`),
logModAction('warn', message.serverContext, message.member!, user, reason, `This is warn number **${userWarnCount}** for this user.`),
]);
}
} as Command;