Method BeforeSlashExecutionAsync
- Namespace
- DisCatSharp.ApplicationCommands
- Assembly
- DisCatSharp.ApplicationCommands.dll
BeforeSlashExecutionAsync(InteractionContext)
Called before the execution of a slash command in the module.
public virtual Task<bool> BeforeSlashExecutionAsync(InteractionContext ctx)
Parameters
ctx
InteractionContextThe context.