mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
feat(AutoModeration): v13 support customMessage (#9173)
* feat: add customMessage * chore: use main wording
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -4267,6 +4267,7 @@ export interface AutoModerationAction {
|
||||
export interface AutoModerationActionMetadata {
|
||||
channelId: Snowflake | null;
|
||||
durationSeconds: number | null;
|
||||
customMessage: string | null;
|
||||
}
|
||||
|
||||
export interface AutoModerationTriggerMetadata {
|
||||
|
||||
1
typings/rawDataTypes.d.ts
vendored
1
typings/rawDataTypes.d.ts
vendored
@@ -247,6 +247,7 @@ export interface APIAutoModerationAction {
|
||||
export interface APIAutoModerationActionMetadata {
|
||||
channel_id?: Snowflake;
|
||||
duration_seconds?: number;
|
||||
custom_message?: string;
|
||||
}
|
||||
|
||||
export interface APIAutoModerationRule {
|
||||
|
||||
Reference in New Issue
Block a user