Method WithExecutionCheck
- Namespace
- DSharpPlus.CommandsNext.Builders
- Assembly
- DSharpPlus.CommandsNext.dll
WithExecutionCheck(CheckBaseAttribute)
Adds a pre-execution check to this command.
public CommandBuilder WithExecutionCheck(CheckBaseAttribute check)
Parameters
check
CheckBaseAttributePre-execution check to add to this command.
Returns
- CommandBuilder
This builder.