IAutoModerationRule class Null safety

Implemented types

Constructors

IAutoModerationRule()

Properties

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

Methods

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

Operators

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