Table of Contents

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 DiscordClient

Client to get application commands for.

Returns

ApplicationCommandsExtension

The module, or null if not activated.