Method GetGuildApplicationCommandsPermissionsAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
GetGuildApplicationCommandsPermissionsAsync(ulong)
Gets all application command permissions in a guild.
public Task<IReadOnlyList<DiscordGuildApplicationCommandPermissions>> GetGuildApplicationCommandsPermissionsAsync(ulong guildId)
Parameters
guildId
ulongThe guild ID.
Returns
- Task<IReadOnlyList<DiscordGuildApplicationCommandPermissions>>
A list of permissions.