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