mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 04:25:01 +00:00
Automod work
This commit is contained in:
parent
140ba84544
commit
f657b169df
32 changed files with 1099 additions and 5 deletions
16
backend/src/plugins/Automod/constants.ts
Normal file
16
backend/src/plugins/Automod/constants.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { MINUTES, SECONDS } from "../../utils";
|
||||
|
||||
export const RECENT_SPAM_EXPIRY_TIME = 10 * SECONDS;
|
||||
export const RECENT_ACTION_EXPIRY_TIME = 5 * MINUTES;
|
||||
|
||||
export enum RecentActionType {
|
||||
Message = 1,
|
||||
Mention,
|
||||
Link,
|
||||
Attachment,
|
||||
Emoji,
|
||||
Line,
|
||||
Character,
|
||||
VoiceChannelMove,
|
||||
MemberJoin,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue