feat(AutoModeration): v13 support customMessage (#9173)

* feat: add customMessage

* chore: use main wording
This commit is contained in:
Jaw0r3k
2023-04-13 18:36:46 +02:00
committed by GitHub
parent 5acecf031a
commit add14acc20
4 changed files with 7 additions and 0 deletions

1
typings/index.d.ts vendored
View File

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

View File

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