mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 02:12:40 +01:00
remove MANAGE_GUILDS, EDIT_FLAGS, SELF_EDIT_FLAGS, MANAGE_GROUPS from default rights
This commit is contained in:
parent
4c82fd1bb4
commit
4abf9d9c68
@ -34,9 +34,13 @@ discordLike -= Rights.FLAGS.MANAGE_RATE_LIMITS;
|
||||
discordLike -= Rights.FLAGS.MANAGE_ROUTING;
|
||||
discordLike -= Rights.FLAGS.MANAGE_TICKETS;
|
||||
discordLike -= Rights.FLAGS.MANAGE_USERS;
|
||||
discordLike -= Rights.FLAGS.MANAGE_GUILDS;
|
||||
discordLike -= Rights.FLAGS.ADD_MEMBERS;
|
||||
discordLike -= Rights.FLAGS.BYPASS_RATE_LIMITS;
|
||||
discordLike -= Rights.FLAGS.CREDITABLE;
|
||||
discordLike -= Rights.FLAGS.MANAGE_GUILD_DIRECTORY;
|
||||
discordLike -= Rights.FLAGS.SEND_BACKDATED_EVENTS;
|
||||
discordLike -= Rights.FLAGS.EDIT_FLAGS;
|
||||
discordLike -= Rights.FLAGS.SELF_EDIT_FLAGS;
|
||||
discordLike -= Rights.FLAGS.MANAGE_GROUPS;
|
||||
console.log(`Discord.com-like rights:`, discordLike);
|
||||
|
@ -34,5 +34,5 @@ export class RegisterConfiguration {
|
||||
allowMultipleAccounts: boolean = true;
|
||||
blockProxies: boolean = true;
|
||||
incrementingDiscriminators: boolean = false; // random otherwise
|
||||
defaultRights: string = "30644591655940"; // See `npm run generate:rights`
|
||||
defaultRights: string = "312119568366592"; // See `npm run generate:rights`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user