Class ApplicationCommandPermission
Application command permissions allow you to enable or disable commands for specific users or roles within a guild.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class ApplicationCommandPermission
Properties​
TargetId​
The id of the role or user.
View Source​
Declaration
public ulong TargetId { get; }
TargetType​
The target of this permission.
View Source​
Declaration
public ApplicationCommandPermissionTarget TargetType { get; }
Permission​
true
to allow, otherwise false
.
View Source​
Declaration
public bool Permission { get; }