Skip to content

ApplicationCommandPermissions ​

typedef · Source

The object returned when fetching permissions for an application command. Type: Object

Properties ​

id ​

id: Snowflake

The role or user's id

type ​

type: ApplicationCommandPermissionType

Whether this permission is for a role or a user

permission ​

permission: boolean

Whether the role or user has the permission to use this command

Unofficial software. Not affiliated with or supported by Discord.