AutoModerationRuleBuilder constructor
- {required String name,
- required AutoModerationEventType eventType,
- required TriggerType triggerType,
- TriggerMetadataBuilder? metadata,
- required List<
AutoModerationActionBuilder> actions, - bool? isEnabled,
- List<
Snowflake> ? exemptRoleIds, - List<
Snowflake> ? exemptChannelIds}
Implementation
AutoModerationRuleBuilder({
required this.name,
required this.eventType,
required this.triggerType,
this.metadata,
required this.actions,
this.isEnabled,
this.exemptRoleIds,
this.exemptChannelIds,
});