Interface ISlashCommandModule
The base that should be used for all slash command modules.
Namespace: Color_Chan.Discord.Commands.Modules
Assembly: Color-Chan.Discord.Commands.dll
Syntax
public interface ISlashCommandModule
Methods
| Improve this Doc View SourceSetContext(ISlashCommandContext)
Set the current ISlashCommandContext for a command.
Declaration
void SetContext(ISlashCommandContext context)
Parameters
Type | Name | Description |
---|---|---|
ISlashCommandContext | context | The new ISlashCommandContext. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | When the given context was null. |