mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 12:42:44 +01:00
🚧 custom permissions
This commit is contained in:
parent
3bdbd9340e
commit
0df97867bb
@ -76,7 +76,12 @@ export class Permissions extends BitField {
|
||||
MANAGE_ROLES: 1n << 28n,
|
||||
MANAGE_WEBHOOKS: 1n << 29n,
|
||||
MANAGE_EMOJIS: 1n << 30n,
|
||||
// CUSTOM PERMISSIONS
|
||||
/**
|
||||
* CUSTOM PERMISSIONS ideas:
|
||||
* - allow user to dm members
|
||||
* - allow user to pin messages (without MANAGE_MESSAGES)
|
||||
* - allow user to publish messages (without MANAGE_MESSAGES)
|
||||
*/
|
||||
// CUSTOM_PERMISSION: 1n << 0n + CUSTOM_PERMISSION_OFFSET
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user