DiscordAutoModerationActionExecution

data class DiscordAutoModerationActionExecution(val guildId: Snowflake, val action: DiscordAutoModerationAction, val ruleId: Snowflake, val ruleTriggerType: AutoModerationRuleTriggerType, val userId: Snowflake, val channelId: OptionalSnowflake = OptionalSnowflake.Missing, val messageId: OptionalSnowflake = OptionalSnowflake.Missing, val alertSystemMessageId: OptionalSnowflake = OptionalSnowflake.Missing, val content: String, val matchedKeyword: String?, val matchedContent: String?)(source)

Constructors

Link copied to clipboard
constructor(guildId: Snowflake, action: DiscordAutoModerationAction, ruleId: Snowflake, ruleTriggerType: AutoModerationRuleTriggerType, userId: Snowflake, channelId: OptionalSnowflake = OptionalSnowflake.Missing, messageId: OptionalSnowflake = OptionalSnowflake.Missing, alertSystemMessageId: OptionalSnowflake = OptionalSnowflake.Missing, content: String, matchedKeyword: String?, matchedContent: String?)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "alert_system_message_id")
val alertSystemMessageId: OptionalSnowflake
Link copied to clipboard
@SerialName(value = "channel_id")
val channelId: OptionalSnowflake
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "guild_id")
val guildId: Snowflake
Link copied to clipboard
@SerialName(value = "matched_content")
val matchedContent: String?
Link copied to clipboard
@SerialName(value = "matched_keyword")
val matchedKeyword: String?
Link copied to clipboard
@SerialName(value = "message_id")
val messageId: OptionalSnowflake
Link copied to clipboard
@SerialName(value = "rule_id")
val ruleId: Snowflake
Link copied to clipboard
@SerialName(value = "rule_trigger_type")
val ruleTriggerType: AutoModerationRuleTriggerType
Link copied to clipboard
@SerialName(value = "user_id")
val userId: Snowflake