Method GetGuildApplicationCommandsAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
GetGuildApplicationCommandsAsync(ulong)
Gets all the application commands for a guild.
public Task<IReadOnlyList<DiscordApplicationCommand>> GetGuildApplicationCommandsAsync(ulong guildId)
Parameters
guildId
ulongThe ID of the guild to get application commands for.
Returns
- Task<IReadOnlyList<DiscordApplicationCommand>>
A list of application commands in the guild.