Method GetGuildApplicationCommandsAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
GetGuildApplicationCommandsAsync(ulong, bool)
Gets all the application commands for a guild.
public Task<IReadOnlyList<DiscordApplicationCommand>> GetGuildApplicationCommandsAsync(ulong guildId, bool withLocalizations = false)
Parameters
guildId
ulongThe id of the guild to get application commands for.
withLocalizations
boolWhether to get the full localization dict.
Returns
- Task<IReadOnlyList<DiscordApplicationCommand>>
A list of application commands in the guild.