From 4abf9d9c68be674878b4db0e3db3ad213cd7e934 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Fri, 3 Feb 2023 16:26:50 +1100 Subject: [PATCH] remove MANAGE_GUILDS, EDIT_FLAGS, SELF_EDIT_FLAGS, MANAGE_GROUPS from default rights --- scripts/rights.js | 4 ++++ src/util/config/types/RegisterConfiguration.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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` }