Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aether/src/structures/permissions/Permission.ts>default

A Deno library to interface with the Discord API
Latest
class default
import { default } from "https://deno.land/x/aether@v0.0.3/src/structures/permissions/Permission.ts";

Constructors

new
default(allow: number, deny?: number)

Properties

allow: number

Allowed numeric permissions

deny: number

Denied numeric permissions

readonly
json: object

JSON value of the permission

Methods

has(permission: keyof Permissions): boolean

Method to see whether the permission includes a specific permission