Table of Contents

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 DiscordClient

Client to enable application commands for.

config ApplicationCommandsConfiguration

Configuration to use.

Returns

ApplicationCommandsExtension

Created ApplicationCommandsExtension.