Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create({required Object serverId, required String name, required AutoModerationEventType eventType, required TriggerType triggerType, required List<Action> actions, TriggerMetadata? triggerMetadata, List<Snowflake> exemptRoles = const [], List<Snowflake> exemptChannels = const [], bool enabled = true, String? reason})
→ Future<AutoModerationRule>
-
-
delete(Object serverId, Object ruleId, {String? reason})
→ Future<void>
-
-
fetch(Object serverId, bool force)
→ Future<Map<Snowflake, AutoModerationRule>>
-
-
get(Object serverId, Object id, bool force)
→ Future<AutoModerationRule?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
update({required Object id, required Object serverId, required Map<String, dynamic> payload, required String? reason})
→ Future<AutoModerationRule?>
-