Method UseApplicationCommands
- Namespace
- DisCatSharp.ApplicationCommands
- Assembly
- DisCatSharp.ApplicationCommands.dll
UseApplicationCommands(DiscordClient, ApplicationCommandsConfiguration?)
Enables application commands on this DiscordClient.
public static ApplicationCommandsExtension UseApplicationCommands(this DiscordClient client, ApplicationCommandsConfiguration? config = null)
Parameters
client
DiscordClientClient to enable application commands for.
config
ApplicationCommandsConfigurationConfiguration to use.