DiscordGuildApplicationCommandPermissions
Documentation / @discordeno/bot / DiscordGuildApplicationCommandPermissions
Interface: DiscordGuildApplicationCommandPermissions
Defined in: packages/types/dist/types/discord/interactions.d.ts:363
Properties
application_id
application_id:
string
Defined in: packages/types/dist/types/discord/interactions.d.ts:367
ID of the application the command belongs to
guild_id
guild_id:
string
Defined in: packages/types/dist/types/discord/interactions.d.ts:369
ID of the guild
id
id:
string
Defined in: packages/types/dist/types/discord/interactions.d.ts:365
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/interactions.d.ts:371
Permissions for the command in the guild, max of 100