Class GuildApplicationCommandPermission
Returned when fetching the permissions for a command in a guild.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class GuildApplicationCommandPermission : object
Properties
| Improve this Doc View SourceApplicationId
The id of the application the command belongs to.
Declaration
public ulong ApplicationId { get; }
Property Value
Type | Description |
---|---|
UInt64 |
CommandId
The id of the command.
Declaration
public ulong CommandId { get; }
Property Value
Type | Description |
---|---|
UInt64 |
GuildId
The id of the guild.
Declaration
public ulong GuildId { get; }
Property Value
Type | Description |
---|---|
UInt64 |
Permissions
The permissions for the command in the guild.
Declaration
public IReadOnlyCollection<ApplicationCommandPermission> Permissions { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<ApplicationCommandPermission> |