Method UseSlashCommands
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
UseSlashCommands(DiscordClient, SlashCommandsConfiguration)
Enables slash commands on this DiscordClient.
public static SlashCommandsExtension UseSlashCommands(this DiscordClient client, SlashCommandsConfiguration config = null)
Parameters
client
DiscordClientClient to enable slash commands for.
config
SlashCommandsConfigurationConfiguration to use.