AutoModerationRuleData
data class AutoModerationRuleData(val id: Snowflake, val guildId: Snowflake, val name: String, val creatorId: Snowflake, val eventType: AutoModerationRuleEventType, val triggerType: AutoModerationRuleTriggerType, val triggerMetadata: AutoModerationRuleTriggerMetadataData, val actions: List<AutoModerationActionData>, val enabled: Boolean, val exemptRoles: List<Snowflake>, val exemptChannels: List<Snowflake>)(source)
Constructors
Link copied to clipboard
constructor(id: Snowflake, guildId: Snowflake, name: String, creatorId: Snowflake, eventType: AutoModerationRuleEventType, triggerType: AutoModerationRuleTriggerType, triggerMetadata: AutoModerationRuleTriggerMetadataData, actions: List<AutoModerationActionData>, enabled: Boolean, exemptRoles: List<Snowflake>, exemptChannels: List<Snowflake>)