interface APIApplicationCommandPermission {
    id: string;
    permission: boolean;
    type: ApplicationCommandPermissionType;
}

Properties

Properties

id: string

The id of the role, user or channel. Can also be a permission constant

permission: boolean

true to allow, false, to disallow

Role, user or channel