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
DiscordClientThe client to register the extension with.
configuration
CommandsConfigurationThe configuration to use for the extension.