Method GetApplicationCommands
- Namespace
- DisCatSharp.ApplicationCommands
- Assembly
- DisCatSharp.ApplicationCommands.dll
GetApplicationCommands(DiscordClient)
Gets the application commands module for this client.
public static ApplicationCommandsExtension GetApplicationCommands(this DiscordClient client)
Parameters
client
DiscordClientClient to get application commands for.
Returns
- ApplicationCommandsExtension
The module, or null if not activated.