Skip to main content

DiscordGuildApplicationCommandPermissions

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordGuildApplicationCommandPermissions

Interface: DiscordGuildApplicationCommandPermissions

https://discord.com/developers/docs/interactions/slash-commands#guildapplicationcommandpermissions

Properties

application_id

application_id: string

ID of the application the command belongs to

Defined in

packages/types/dist/types/discord.d.ts:2597


guild_id

guild_id: string

ID of the guild

Defined in

packages/types/dist/types/discord.d.ts:2599


id

id: string

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.

Defined in

packages/types/dist/types/discord.d.ts:2595


permissions

permissions: DiscordApplicationCommandPermissions[]

Permissions for the command in the guild, max of 100

Defined in

packages/types/dist/types/discord.d.ts:2601