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

x/discordeno/util/mod.ts>calculateBits

Discord API library for Deno
Go to Latest
function calculateBits
import { calculateBits } from "https://deno.land/x/discordeno@17.0.1/util/mod.ts";

This function converts an array of permissions into the bitwise string.

Parameters

permissions: PermissionStrings[]