mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 10:45:27 +00:00
G
This commit is contained in:
parent
65471712f7
commit
5fee526f8b
|
@ -67,8 +67,7 @@ async function antispam(message: Message): Promise<boolean> {
|
|||
_id: ulid(),
|
||||
createdBy: null,
|
||||
date: Date.now(),
|
||||
reason: `Automatic moderation rule triggered: More than ${rule.max_msg} messages per ${rule.timeframe} seconds.`
|
||||
+ (rule.message ?? ''),
|
||||
reason: `Automatic moderation rule triggered: More than ${rule.max_msg} messages per ${rule.timeframe} seconds.`,
|
||||
server: message.channel?.server_id,
|
||||
type: InfractionType.Automatic,
|
||||
user: message.author_id,
|
||||
|
|
Loading…
Reference in a new issue