Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 492 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 492 Bytes

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.