feat(AutoModeration): v13 support customMessage

#9173 djs
This commit is contained in:
Elysia
2023-04-14 18:39:56 +07:00
parent 288be9b0a1
commit 7f565e1848
4 changed files with 7 additions and 0 deletions

1
typings/index.d.ts vendored
View File

@@ -5383,6 +5383,7 @@ export interface AutoModerationAction {
export interface AutoModerationActionMetadata {
channelId: Snowflake | null;
durationSeconds: number | null;
customMessage: string | null;
}
export interface AutoModerationTriggerMetadata {

View File

@@ -248,6 +248,7 @@ export interface APIAutoModerationAction {
export interface APIAutoModerationActionMetadata {
channel_id?: Snowflake;
duration_seconds?: number;
custom_message?: string;
}
export interface APIAutoModerationRule {