DiscordGuildApplicationCommandPermissions
Documentation / @discordeno/types / DiscordGuildApplicationCommandPermissions
Interface: DiscordGuildApplicationCommandPermissions
Defined in: discord/interactions.ts:499
Properties
application_id
application_id:
string
Defined in: discord/interactions.ts:503
ID of the application the command belongs to
guild_id
guild_id:
string
Defined in: discord/interactions.ts:505
ID of the guild
id
id:
string
Defined in: discord/interactions.ts:501
ID of the command or the application ID. When the id field is the application ID instead of a command ID, the permissions apply to all commands that do not contain explicit overwrites.
permissions
permissions:
DiscordApplicationCommandPermissions[]
Defined in: discord/interactions.ts:507
Permissions for the command in the guild, max of 100