Class ApplicationCommandModule
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
Represents a base class for slash command modules.
public abstract class ApplicationCommandModule
- Inheritance
-
objectApplicationCommandModule
Methods
- AfterContextMenuExecutionAsync(ContextMenuContext)
Called after the execution of a context menu in the module.
- AfterSlashExecutionAsync(InteractionContext)
Called after the execution of a slash command in the module.
- BeforeContextMenuExecutionAsync(ContextMenuContext)
Called before the execution of a context menu in the module.
- BeforeSlashExecutionAsync(InteractionContext)
Called before the execution of a slash command in the module.