G
This commit is contained in:
parent
65471712f7
commit
5fee526f8b
1 changed files with 1 additions and 2 deletions
|
@ -67,8 +67,7 @@ async function antispam(message: Message): Promise<boolean> {
|
||||||
_id: ulid(),
|
_id: ulid(),
|
||||||
createdBy: null,
|
createdBy: null,
|
||||||
date: Date.now(),
|
date: Date.now(),
|
||||||
reason: `Automatic moderation rule triggered: More than ${rule.max_msg} messages per ${rule.timeframe} seconds.`
|
reason: `Automatic moderation rule triggered: More than ${rule.max_msg} messages per ${rule.timeframe} seconds.`,
|
||||||
+ (rule.message ?? ''),
|
|
||||||
server: message.channel?.server_id,
|
server: message.channel?.server_id,
|
||||||
type: InfractionType.Automatic,
|
type: InfractionType.Automatic,
|
||||||
user: message.author_id,
|
user: message.author_id,
|
||||||
|
|
Loading…
Reference in a new issue