Method ExecuteChecksAsync
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
ExecuteChecksAsync(ContextMenuContext)
Checks whether this command can be executed within the current context.
public abstract Task<bool> ExecuteChecksAsync(ContextMenuContext ctx)
Parameters
ctx
ContextMenuContextThe context.
Returns
- Task<bool>
Whether the checks passed.