1
0
mirror of https://github.com/spacebarchat/docs.git synced 2024-11-22 02:02:32 +01:00

Brought back the previously removed table to show which rights would emulate discord.com. Also added a warning against setting rights to 1.

This commit is contained in:
Madeline 2022-06-01 00:25:56 +10:00 committed by Erkin Alp Güney
parent 97b7d0f338
commit 12f6915538

View File

@ -14,6 +14,22 @@ For example, to grant `CREATE_GUILDS` and `SEND_MESSAGES`, grant the user(s)
`(1 << 25) = 33554432` =
`33587200`
!!! warning "The default rights are current `0`. ***NEVER*** set default rights to `1` ( `OPERATOR` ), as this allows ANY USER to perform ANY ACTION including shutting down the server. ONLY EVER GIVE YOURSELF `OPERATOR` RIGHTS."
The rights value `648540060672` emulates the rights of users on Discord.com, granting:
| Default Rights | | |
|---------------------|-------------------------|---------------------------|
| `CREATE_CHANNELS` | `SELF_DELETE_MESSAGES` | `USE_ACHIEVEMENTS` |
| `CREATE_DMS` | `SELF_EDIT_MESSAGES` | `SELF_ADD_DISCOVERABLE` |
| `CREATE_DM_GROUPS` | `SELF_EDIT_NAME` | `SELF_LEAVE_GROUPS` |
| `CREATE_GUILDS` | `SEND_MESSAGES` | `KICK_BAN_MEMBERS` |
| `CREATE_INVITES` | `USE_ACTIVITIES` | `SELF_ADD_REACTIONS` |
| `CREATE_ROLES` | `USE_VIDEO` | `DEBTABLE` |
| `CREATE_TEMPLATES` | `USE_VOICE` | `PIN_MESSAGES` |
| `CREATE_WEBHOOKS` | `INVITE_USERS` | `SELF_DELETE_DISABLE` |
| `JOIN_GUILDS` | `CREATE_APPLICATIONS` | |
Below is a list of all available rights
| Right | Value | Grants when it's 1 |