Table of Contents

Class DiscordAutoModerationActionBuilder

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Constructs auto-moderation actions.

public class DiscordAutoModerationActionBuilder
Inheritance
DiscordAutoModerationActionBuilder

Properties

Metadata

Sets additional metadata needed during execution for this specific action type.

Type

Sets the rule action type.

Methods

Build()

Constructs a new trigger rule action.

WithActionMetadata(DiscordRuleActionMetadata)

Sets the action metadata.

WithRuleActionType(DiscordRuleActionType)

Sets the rule action type.