DiscordApplicationCommandPermissions
Documentation / @discordeno/bot / DiscordApplicationCommandPermissions
Interface: DiscordApplicationCommandPermissions
Defined in: packages/types/dist/types/discord.d.ts:2607
https://discord.com/developers/docs/interactions/slash-commands#applicationcommandpermissions
Properties
id
id:
string
Defined in: packages/types/dist/types/discord.d.ts:2609
ID of the role, user, or channel. It can also be a permission constant
permission
permission:
boolean
Defined in: packages/types/dist/types/discord.d.ts:2613
true
to allow, false
, to disallow
type
Defined in: packages/types/dist/types/discord.d.ts:2611
ApplicationCommandPermissionTypes.Role, ApplicationCommandPermissionTypes.User, or ApplicationCommandPermissionTypes.Channel