Interface ApplicationCommandPermission

interface ApplicationCommandPermission {
    id: string;
    permission: boolean;
    type: ApplicationCommandPermissionTypes;
}

Properties

Properties

id: string

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

permission: boolean

If the permission is allowed.

The type of permission