Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/revoltio/src/util/mod.ts>ChannelPermissions

No-nonsense Revolt library for nodejs and deno.
Latest
class ChannelPermissions
extends BitField
import { ChannelPermissions } from "https://deno.land/x/revoltio@v1.0.0/src/util/mod.ts";
interface ChannelPermissions
import { type ChannelPermissions } from "https://deno.land/x/revoltio@v1.0.0/src/util/mod.ts";

Methods

serialize(): Record<ChannelPermissionsString, boolean>
any(bit: ChannelPermissionsResolvable): boolean
add(...bits: ChannelPermissionsResolvable[]): this
remove(...bits: ChannelPermissionsResolvable[]): this
has(bit: ChannelPermissionsResolvable): boolean