mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 04:25:01 +00:00
23 lines
502 B
TypeScript
23 lines
502 B
TypeScript
import z from "zod";
|
|
import { MINUTES, SECONDS } from "../../utils";
|
|
|
|
export const RECENT_SPAM_EXPIRY_TIME = 10 * SECONDS;
|
|
export const RECENT_ACTION_EXPIRY_TIME = 5 * MINUTES;
|
|
export const RECENT_NICKNAME_CHANGE_EXPIRY_TIME = 5 * MINUTES;
|
|
|
|
export enum RecentActionType {
|
|
Message = 1,
|
|
Mention,
|
|
Link,
|
|
Attachment,
|
|
Emoji,
|
|
Line,
|
|
Character,
|
|
VoiceChannelMove,
|
|
MemberJoin,
|
|
Sticker,
|
|
MemberLeave,
|
|
ThreadCreate,
|
|
}
|
|
|
|
export const zNotify = z.union([z.literal("dm"), z.literal("channel")]);
|