Table of Contents

Class CommandsConfiguration

Namespace
DSharpPlus.Commands
Assembly
DSharpPlus.Commands.dll

The configuration copied to an instance of CommandsExtension.

public sealed record CommandsConfiguration
Inheritance
CommandsConfiguration

Properties

CommandExecutor

The command executor to use for command execution.

DebugGuildId

The guild id to use for debugging. Leave as 0 to disable.

RegisterDefaultCommandProcessors

Whether to register default command processors when they're not found in the processor list.

ServiceProvider

The service provider to use for dependency injection.

UseDefaultCommandErrorHandler

Whether to enable the default command error handler.