DiscordGuildApplicationCommandPermissions
Documentation / @discordeno/bot / DiscordGuildApplicationCommandPermissions
Interface: DiscordGuildApplicationCommandPermissions
Defined in: packages/types/dist/types/discord.d.ts:2596
https://discord.com/developers/docs/interactions/slash-commands#guildapplicationcommandpermissions
Properties
application_id
application_id:
string
Defined in: packages/types/dist/types/discord.d.ts:2600
ID of the application the command belongs to
guild_id
guild_id:
string
Defined in: packages/types/dist/types/discord.d.ts:2602
ID of the guild
id
id:
string
Defined in: packages/types/dist/types/discord.d.ts:2598
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: packages/types/dist/types/discord.d.ts:2604
Permissions for the command in the guild, max of 100