How to I turn Permission numbers into a string / array?
defaultMemberPermissions
returns with a number. How do i make this a string, such as administrator
?3 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers. PermissionsBitField (extends BitField)
Data structure that makes it easy to interact with a permission bitfield. All GuildMembers have a set of permissions in their guild, and each channel in the guild may also have PermissionOverwrites for the member that override their default permissions.
which method should i use?
i've tried using most of them and all return the following error:
this is how i am accessing the info:
Decided to remove this feature as it is too complicated and not very useful