Table of Contents

Class UserCommandProcessor

Namespace
DSharpPlus.Commands.Processors.UserCommands
Assembly
DSharpPlus.Commands.dll
public sealed class UserCommandProcessor : ICommandProcessor
Inheritance
object
UserCommandProcessor
Implements

Properties

Commands

List of commands which are registered to this processor

ContextType

Processor specific context type. Context type which is provided on command invokation

Converters

A dictionary of argument converters indexed by the type they convert to.

Methods

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

ExecuteInteractionAsync(DiscordClient, ContextMenuInteractionCreatedEventArgs)
ToApplicationCommandAsync(Command)