Last active
January 8, 2019 13:50
-
-
Save tripulse/1fd61559a25c754958cda1c16b3c6093 to your computer and use it in GitHub Desktop.
The discord bit-wise permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const Permissions = | |
| new Object({ | |
| CREATE_INSTANT_INVITE: 0x1, | |
| KICK_MEMBERS: 0x2, | |
| BAN_MEMBERS: 0x4, | |
| ADMINISTRATOR: 0x8, | |
| MANAGE_CHANNELS: 0x10, | |
| MANAGE_GUILD: 0x20, | |
| ADD_REACTIONS: 0x40, | |
| VIEW_AUDIT_LOG: 0x80, | |
| VIEW_CHANNEL: 0x400, | |
| SEND_MESSAGE: 0x800, | |
| SEND_TTS_MESSAGES: 0x1000, | |
| MANAGE_MESSAGES: 0x2000, | |
| EMBED_LINKS: 0x4000, | |
| ATTACH_FILES: 0x8000, | |
| READ_MESSAGE_HISTORY: 0x10000, | |
| MENTION_EVERYONE: 0x20000, | |
| USE_EXTERNAL_EMOJIS: 0x40000, | |
| CONNECT: 0x100000, | |
| SPEAK: 0x200000, | |
| MUTE_MEMBERS: 0x400000, | |
| DEAFEN_MEMBERS: 0x800000, | |
| MOVE_MEMBERS: 0x1000000, | |
| USE_VAD: 0x2000000, | |
| PRIORITY_SPEAKER: 0x100, | |
| CHANGE_NICKNAME: 0x4000000, | |
| MANAGE_NICKNAMES: 0x8000000, | |
| MANAGE_ROLES: 0x10000000, | |
| MANAGE_WEBHOOKS: 0x20000000, | |
| MANAGE_EMOJIS: 0x40000000 | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment