Method WithExecutionChecks
- Namespace
- DSharpPlus.CommandsNext.Builders
- Assembly
- DSharpPlus.CommandsNext.dll
WithExecutionChecks(params CheckBaseAttribute[])
Adds pre-execution checks to this command.
public CommandBuilder WithExecutionChecks(params CheckBaseAttribute[] checks)
Parameters
checks
CheckBaseAttribute[]Pre-execution checks to add to this command.
Returns
- CommandBuilder
This builder.