How to call the permission flags like v13 in v14? #1203
-
Part of the guide or code sample the question is abouthttps://discordjs.guide/popular-topics/permissions.html#checking-member-permissions Questionis it possible trying to still calling the permissions like "ADMINISTRATOR" instead of Because i have my own handler system and it depends of mention the permissions. When i try to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
with the limited detail, i can tell you to just look up PermissionsBitField.toArray() and see if that works for you. You can parse the strings and convert them to however you want to display later like for example |
Beta Was this translation helpful? Give feedback.
with the limited detail, i can tell you to just look up PermissionsBitField.toArray() and see if that works for you. You can parse the strings and convert them to however you want to display later
like for example
new PermissionsBitField(8).toArray()