Interface ApplicationCommandPermissions

interface ApplicationCommandPermissions {
    id: string;
    permission: boolean;
    type: ApplicationCommandPermissionsType;
}

Properties

Properties

id: string

id ID of the command or the application ID

Returns

permission: boolean

permission true to allow, false, to disallow

Returns

boolean

type role (1), user (2), or channel (3)

Returns

Generated using TypeDoc