Interface AutoModerationRuleObject

Hierarchy

  • AutoModerationRuleObject

Properties

actions the actions which will execute when the rule is triggered

Returns

array

creator_id: string

creator_id the user which first created this rule

Returns

snowflake

enabled: boolean

enabled whether the rule is enabled

Returns

boolean

event_type: MESSAGE_SEND

event_type the rule event type

Returns

EventType

exempt_channels: string[]

exempt_channels the channel ids that should not be affected by the rule (Maximum of 50)

Returns

array

exempt_roles: string[]

exempt_roles the role ids that should not be affected by the rule (Maximum of 20)

Returns

array

guilded_id: string

guilded_id the id of the guild which this rule belongs to

Returns

snowflake

id: string

id the id of this rule

Returns

snowflake

name: string

name the rule name

Returns

string

trigger_metadata: TriggerMetaData

trigger_metadata the rule trigger metadata

Returns

integer

trigger_type: TriggerType

trigger_type the rule trigger type

Returns

TriggerType

Generated using TypeDoc