Interface IDiscordApplicationCommandPermissions
Represents a discord Application Command Permissions Structure API model. Docs: https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permissions-structure
Namespace: Color_Chan.Discord.Core.Common.Models.Application
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IDiscordApplicationCommandPermissions
Properties
| Improve this Doc View SourceAllow
true to allow, false, to disallow.
Declaration
bool Allow { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Id
The id of the role or user.
Declaration
ulong Id { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Type
The type of the IDiscordApplicationCommandPermissions.
Declaration
DiscordApplicationCommandPermissionsType Type { get; set; }
Property Value
Type | Description |
---|---|
DiscordApplicationCommandPermissionsType |