ApplicationCommandPermissionData
typedef · Source
Data for setting the permissions of an application command. Type: Object
Properties
id
id: Snowflake
The role or user's id
type
type: ApplicationCommandPermissionType | number
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