Skip to content

Commit 072b70a

Browse files
authored
Merge pull request AnIdiotsGuide#54 from almostSouji/deprecated-permissions
Guide: remove deprecated permissions, change structure away from codeblock
2 parents fd0eeeb + d4436b9 commit 072b70a

File tree

1 file changed

+29
-32
lines changed

1 file changed

+29
-32
lines changed

understanding/roles.md

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -125,35 +125,32 @@ Now get to coding!
125125

126126
This is the list of internal permission names, used for `.has(name)` in the above examples:
127127

128-
```javascript
129-
{
130-
CREATE_INSTANT_INVITE: true,
131-
KICK_MEMBERS: true,
132-
BAN_MEMBERS: true,
133-
ADMINISTRATOR: true,
134-
MANAGE_CHANNELS: true,
135-
MANAGE_GUILD: true,
136-
ADD_REACTIONS: true,
137-
READ_MESSAGES: true,
138-
SEND_MESSAGES: true,
139-
SEND_TTS_MESSAGES: true,
140-
MANAGE_MESSAGES: true,
141-
EMBED_LINKS: true,
142-
ATTACH_FILES: true,
143-
READ_MESSAGE_HISTORY: true,
144-
MENTION_EVERYONE: true,
145-
EXTERNAL_EMOJIS: true,
146-
CONNECT: true,
147-
SPEAK: true,
148-
MUTE_MEMBERS: true,
149-
DEAFEN_MEMBERS: true,
150-
MOVE_MEMBERS: true,
151-
USE_VAD: true,
152-
CHANGE_NICKNAME: true,
153-
MANAGE_NICKNAMES: true,
154-
MANAGE_ROLES_OR_PERMISSIONS: true,
155-
MANAGE_WEBHOOKS: true,
156-
MANAGE_EMOJIS: true
157-
}
158-
```
159-
128+
* `ADMINISTRATOR` (implicitly has *all* permissions, and bypasses all channel overwrites)
129+
* `CREATE_INSTANT_INVITE` (create invites for the guild)
130+
* `KICK_MEMBERS`
131+
* `BAN_MEMBERS`
132+
* `MANAGE_CHANNELS` (edit and reorder channels)
133+
* `MANAGE_GUILD` (edit the guild information, region, etc.)
134+
* `ADD_REACTIONS` (add new reactions to messages)
135+
* `VIEW_AUDIT_LOG`
136+
* `PRIORITY_SPEAKER`
137+
* `VIEW_CHANNEL`
138+
* `SEND_MESSAGES`
139+
* `SEND_TTS_MESSAGES`
140+
* `MANAGE_MESSAGES` (delete messages and reactions)
141+
* `EMBED_LINKS` (links posted will have a preview embedded)
142+
* `ATTACH_FILES`
143+
* `READ_MESSAGE_HISTORY` (view messages that were posted prior to oping Discord)
144+
* `MENTION_EVERYONE`
145+
* `USE_EXTERNAL_EMOJIS` (use emojis from different guilds)
146+
* `CONNECT` (connect to a voice channel)
147+
* `SPEAK` (speak in a voice channel)
148+
* `MUTE_MEMBERS` (mute members across all voice channels)
149+
* `DEAFEN_MEMBERS` (deafen members across all voice channels)
150+
* `MOVE_MEMBERS` (move members between voice channels)
151+
* `USE_VAD` (use voice activity detection)
152+
* `CHANGE_NICKNAME`
153+
* `MANAGE_NICKNAMES` (change other members' nicknames)
154+
* `MANAGE_ROLES`
155+
* `MANAGE_WEBHOOKS`
156+
* `MANAGE_EMOJIS`

0 commit comments

Comments
 (0)