Table of Contents

Method GetGlobalApplicationCommandsAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

GetGlobalApplicationCommandsAsync(bool)

Gets all the global application commands for this application.

public Task<IReadOnlyList<DiscordApplicationCommand>> GetGlobalApplicationCommandsAsync(bool withLocalizations = false)

Parameters

withLocalizations bool

Whether to include localizations in the response.

Returns

Task<IReadOnlyList<DiscordApplicationCommand>>

A list of global application commands.