Method ConfigureAsync
- Namespace
- DSharpPlus.Commands.Processors
- 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 virtual ValueTask ConfigureAsync(CommandsExtension extension)
Parameters
extension
CommandsExtensionExtension this processor belongs to