1.0.4 • Published 3 years ago
discord-perms-array v1.0.4
Discord Perms Array
Simple library to convert discord permissions bitfield into array of named permissions
Example:
let permsToArray=require("discord-perms-array");
console.log(permsToArray(2112)) //["SEND_MESSAGES", "ADD_REACTIONS"]
Install:
Yarn
yarn add discord-perms-array
NPM
npm i discord-perms-array
Our friends
Using Discord? Then Find a Discord servers on this site! Owned by author of this lib.