Method WithRuleActionType
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
WithRuleActionType(DiscordRuleActionType)
Sets the rule action type.
public DiscordAutoModerationActionBuilder WithRuleActionType(DiscordRuleActionType type)
Parameters
type
DiscordRuleActionTypeThe rule action type.
Returns
- DiscordAutoModerationActionBuilder
This builder.