AutoModerationRuleBuilder constructor

AutoModerationRuleBuilder(
  1. String name, {
  2. required EventTypes eventType,
  3. required TriggerTypes triggerType,
  4. required List<ActionStructureBuilder> actions,
  5. TriggerMetadataBuilder? triggerMetadata,
  6. bool? enabled,
  7. List<Snowflake>? ignoredChannels,
  8. List<Snowflake>? ignoredRoles,
})

Implementation

AutoModerationRuleBuilder(
  this.name, {
  required this.eventType,
  required this.triggerType,
  required this.actions,
  this.triggerMetadata,
  this.enabled,
  this.ignoredChannels,
  this.ignoredRoles,
});