AutoModerationRule class final
Constructors
-
AutoModerationRule({required Snowflake id, required Snowflake serverId, required String name, required Snowflake creatorId, required AutoModerationEventType eventTypes, required TriggerType triggerTypes, required TriggerMetadata triggerMetadata, required List<
Action> action, required bool enabled, required List<Snowflake> exemptRoles, required List<Snowflake> exemptChannels})
Properties
-
action
→ List<
Action> -
final
- creatorId → Snowflake
-
final
- enabled → bool
-
final
- eventTypes → AutoModerationEventType
-
final
-
exemptChannels
→ List<
Snowflake> -
final
-
exemptRoles
→ List<
Snowflake> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverId → Snowflake
-
final
- triggerMetadata → TriggerMetadata
-
final
- triggerTypes → TriggerType
-
final
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 ==(
Object other) → bool -
The equality operator.
inherited