Method ConfigureAsync
- Namespace
- DSharpPlus.Commands.Processors.TextCommands
- Assembly
- DSharpPlus.Commands.dll
ConfigureAsync(CommandsExtension)
This method is called on initial setup and when the extension is refreshed. Register your needed event handlers here but use a mechanism to track if the inital setup was already done and if this call is only a refresh
public override ValueTask ConfigureAsync(CommandsExtension extension)
Parameters
extension
CommandsExtensionExtension this processor belongs to
Returns
- ValueTask