Method GetGuildApplicationCommandPermissionsAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
GetGuildApplicationCommandPermissionsAsync(ulong, ulong)
Gets permissions for a application command in a guild.
public Task<DiscordGuildApplicationCommandPermissions> GetGuildApplicationCommandPermissionsAsync(ulong guildId, ulong commandId)
Parameters
guildId
ulongThe guild ID.
commandId
ulongThe ID of the command to get them for.
Returns
- Task<DiscordGuildApplicationCommandPermissions>
The permissions.