Table of Contents

Method UseCommands

Namespace
DSharpPlus.Commands
Assembly
DSharpPlus.Commands.dll

UseCommands(DiscordClient, CommandsConfiguration?)

Registers the extension with the DiscordClient.

public static CommandsExtension UseCommands(this DiscordClient client, CommandsConfiguration? configuration = null)

Parameters

client DiscordClient

The client to register the extension with.

configuration CommandsConfiguration

The configuration to use for the extension.

Returns

CommandsExtension