Skip to main content

DiscordAutoModerationActionExecution

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordAutoModerationActionExecution

Interface: DiscordAutoModerationActionExecution

https://discord.com/developers/docs/events/gateway-events#auto-moderation-action-execution-auto-moderation-action-execution-event-fields

Properties

action

action: DiscordAutoModerationAction

Action which was executed

Defined in

packages/types/dist/types/discord.d.ts:2097


alert_system_message_id?

optional alert_system_message_id: null | string

The id of any system auto moderation messages posted as a result of this action

Defined in

packages/types/dist/types/discord.d.ts:2105


channel_id?

optional channel_id: null | string

The id of the channel in which user content was posted

Defined in

packages/types/dist/types/discord.d.ts:2101


content

content: string

The content from the user

Defined in

packages/types/dist/types/discord.d.ts:2095


guild_id

guild_id: string

The id of the guild

Defined in

packages/types/dist/types/discord.d.ts:2089


matched_content

matched_content: null | string

The substring in content that triggered the rule

Defined in

packages/types/dist/types/discord.d.ts:2109


matched_keyword

matched_keyword: null | string

The word or phrase that triggerred the rule.

Defined in

packages/types/dist/types/discord.d.ts:2107


message_id?

optional message_id: null | string

The id of the message. Will not exist if message was blocked by automod or content was not part of any message

Defined in

packages/types/dist/types/discord.d.ts:2103


rule_id

rule_id: string

The id of the rule that was executed

Defined in

packages/types/dist/types/discord.d.ts:2091


rule_trigger_type

rule_trigger_type: AutoModerationTriggerTypes

The trigger type of the rule that was executed.

Defined in

packages/types/dist/types/discord.d.ts:2099


user_id

user_id: string

The id of the user which generated the content which triggered the rule

Defined in

packages/types/dist/types/discord.d.ts:2093