summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-02-03 16:26:50 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-02-03 16:26:50 +1100
commit9aa31d24abe58cdb3d2956f6c0866d0d27dab177 (patch)
tree7136bbfe92ea7bebfd59539c6620a83d048c419a
parentrun add:license (diff)
downloadserver-9aa31d24abe58cdb3d2956f6c0866d0d27dab177.tar.xz
remove MANAGE_GUILDS, EDIT_FLAGS, SELF_EDIT_FLAGS, MANAGE_GROUPS from default rights
-rw-r--r--scripts/rights.js4
-rw-r--r--src/util/config/types/RegisterConfiguration.ts2
2 files changed, 5 insertions, 1 deletions
diff --git a/scripts/rights.js b/scripts/rights.js
index 0fbdf128..473d4850 100644
--- a/scripts/rights.js
+++ b/scripts/rights.js
@@ -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);
diff --git a/src/util/config/types/RegisterConfiguration.ts b/src/util/config/types/RegisterConfiguration.ts
index 76ca0530..acbaa2d5 100644
--- a/src/util/config/types/RegisterConfiguration.ts
+++ b/src/util/config/types/RegisterConfiguration.ts
@@ -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`
 }