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
boolWhether to get the full localization dict.
Returns
- Task<IReadOnlyList<DiscordApplicationCommand>>
A list of global application commands.