Interface IDiscordGuildApplicationCommandPermissions
Represents a discord Guild Application Command Permissions Structure API model. Docs: https://discord.com/developers/docs/interactions/slash-commands#application-command-permissions-object-guild-application-command-permissions-structure
Namespace: Color_Chan.Discord.Core.Common.Models.Guild
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IDiscordGuildApplicationCommandPermissions
Properties
| Improve this Doc View SourceApplicationId
The id of the application the command belongs to.
Declaration
ulong ApplicationId { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
CommandId
Unique id of the command.
Declaration
ulong CommandId { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
GuildId
The id of the guild.
Declaration
ulong GuildId { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Permissions
The permissions for the command in the guild.
Declaration
IEnumerable<IDiscordApplicationCommandPermissions> Permissions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IDiscordApplicationCommandPermissions> |