Class GuildApplicationCommandPermission
Returned when fetching the permissions for a command in a guild.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class GuildApplicationCommandPermission
Properties​
CommandId​
The id of the command.
View Source​
Declaration
public ulong CommandId { get; }
ApplicationId​
The id of the application the command belongs to.
View Source​
Declaration
public ulong ApplicationId { get; }
GuildId​
The id of the guild.
View Source​
Declaration
public ulong GuildId { get; }
Permissions​
The permissions for the command in the guild.
View Source​
Declaration
public IReadOnlyCollection<ApplicationCommandPermission> Permissions { get; }