Table of Contents

Method ConfigureAsync

Namespace
DSharpPlus.Commands.Processors.SlashCommands
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 CommandsExtension

Extension this processor belongs to

Returns

ValueTask