Method GetApplicationCommandPermissionsAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
GetApplicationCommandPermissionsAsync(DiscordApplicationCommand)
Gets permissions for a application command in this guild.
public Task<DiscordGuildApplicationCommandPermissions> GetApplicationCommandPermissionsAsync(DiscordApplicationCommand command)
Parameters
command
DiscordApplicationCommandThe command to get them for.
Returns
- Task<DiscordGuildApplicationCommandPermissions>
The permissions.