Table of Contents

Method GetGlobalApplicationCommandsAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.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 get the full localization dict.

Returns

Task<IReadOnlyList<DiscordApplicationCommand>>

A list of global application commands.