Method GetApplicationCommandsAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
GetApplicationCommandsAsync(bool)
Gets all the application commands in this guild.
public Task<IReadOnlyList<DiscordApplicationCommand>> GetApplicationCommandsAsync(bool withLocalizations = false)
Parameters
withLocalizations
boolWhether to include localizations in the response.
Returns
- Task<IReadOnlyList<DiscordApplicationCommand>>
A list of application commands in this guild.