DiscordAutoModerationRule

data class DiscordAutoModerationRule(val id: Snowflake, val guildId: Snowflake, val name: String, val creatorId: Snowflake, val eventType: AutoModerationRuleEventType, val triggerType: AutoModerationRuleTriggerType, val triggerMetadata: DiscordAutoModerationRuleTriggerMetadata, val actions: List<DiscordAutoModerationAction>, 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: DiscordAutoModerationRuleTriggerMetadata, actions: List<DiscordAutoModerationAction>, enabled: Boolean, exemptRoles: List<Snowflake>, exemptChannels: List<Snowflake>)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "creator_id")
val creatorId: Snowflake
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "exempt_channels")
val exemptChannels: List<Snowflake>
Link copied to clipboard
@SerialName(value = "exempt_roles")
val exemptRoles: List<Snowflake>
Link copied to clipboard
@SerialName(value = "guild_id")
val guildId: Snowflake
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard