ModerationRulesBuilder constructor

ModerationRulesBuilder(
  1. String label,
  2. ModerationEventType moderationEventType,
  3. ModerationTriggerType moderationTriggerType,
  4. List<Snowflake> exemptRoles,
  5. List<Snowflake> exemptChannels,
  6. bool enabled,
  7. List<ModerationAction> actions,
  8. ModerationTriggerMetadata? triggerMetadata,
)

Implementation

ModerationRulesBuilder(
  this.label,
  this.moderationEventType,
  this.moderationTriggerType,
  this.exemptRoles,
  this.exemptChannels,
  this.enabled,
  this.actions,
  this.triggerMetadata
);