IAutoModerationRule class abstract

Implemented types

Constructors

IAutoModerationRule()

Properties

actions List<IActionStructure>?
The actions which will execute when the rule is triggered.
no setter
createdAt DateTime
Gets creation timestamp included in Snowflake
no setterinherited
creator Cacheable<Snowflake, IMember>
The user which first created this rule.
no setter
enabled bool
Whether this rule is enabled.
no setter
eventType EventTypes
The rule event type.
no setter
guild Cacheable<Snowflake, IGuild>
The guild's id this rule is applied to.
no setter
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
ID of entity as Snowflake
finalinherited
ignoredChannels Iterable<Cacheable<Snowflake, ITextGuildChannel>>
The channel that should not be affected by the rule (Maximum of 50).
no setter
ignoredRoles Iterable<Cacheable<Snowflake, IRole>>
The role that should not be affected by the rule (Maximum of 20).
no setter
name String
The name of this rule.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
triggerMetadata ITriggerMetadata
The trigger metadata.
no setter
triggerType TriggerTypes
The rule trigger type.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
inherited