Table of Contents

Method GetSlashCommands

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

GetSlashCommands(DiscordClient)

Gets the slash commands module for this client.

public static SlashCommandsExtension GetSlashCommands(this DiscordClient client)

Parameters

client DiscordClient

Client to get slash commands for.

Returns

SlashCommandsExtension

The module, or null if not activated.