summary refs log tree commit diff
path: root/util/src/entities/Config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util/src/entities/Config.ts')
-rw-r--r--util/src/entities/Config.ts33
1 files changed, 1 insertions, 32 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts
index ac1af7f3..9aabc1a8 100644
--- a/util/src/entities/Config.ts
+++ b/util/src/entities/Config.ts
@@ -319,38 +319,7 @@ export const DefaultConfigOptions: ConfigValue = {
 			secret: null,
 		},
 		ipdataApiKey: "eca677b284b3bac29eb72f5e496aa9047f26543605efe99ff2ce35c9",
-		defaultRights: (
-			Rights.FLAGS.MANAGE_GUILDS +
-			Rights.FLAGS.MANAGE_MESSAGES +
-			Rights.FLAGS.MANAGE_TICKETS +
-			Rights.FLAGS.MANAGE_USERS +
-			Rights.FLAGS.CREATE_CHANNELS +
-			Rights.FLAGS.CREATE_DMS +
-			Rights.FLAGS.CREATE_DM_GROUPS +
-			Rights.FLAGS.CREATE_GUILDS +
-			Rights.FLAGS.CREATE_INVITES +
-			Rights.FLAGS.CREATE_ROLES +
-			Rights.FLAGS.CREATE_TEMPLATES +
-			Rights.FLAGS.CREATE_WEBHOOKS +
-			Rights.FLAGS.JOIN_GUILDS +
-			Rights.FLAGS.PIN_MESSAGES +
-			Rights.FLAGS.SELF_ADD_REACTIONS +
-			Rights.FLAGS.SELF_DELETE_MESSAGES +
-			Rights.FLAGS.SELF_EDIT_MESSAGES +
-			Rights.FLAGS.SELF_EDIT_NAME +
-			Rights.FLAGS.SEND_MESSAGES +
-			Rights.FLAGS.USE_ACTIVITIES +
-			Rights.FLAGS.USE_VIDEO +
-			Rights.FLAGS.USE_VOICE +
-			Rights.FLAGS.INVITE_USERS +
-			Rights.FLAGS.SELF_DELETE_DISABLE +
-			Rights.FLAGS.DEBTABLE +
-			Rights.FLAGS.KICK_BAN_MEMBERS +
-			Rights.FLAGS.SELF_LEAVE_GROUPS +
-			Rights.FLAGS.SELF_ADD_DISCOVERABLE +
-			Rights.FLAGS.USE_ACHIEVEMENTS +
-			Rights.FLAGS.USE_MASS_INVITES
-		).toString()
+		defaultRights: "30644591655936",	// See util/scripts/rights.js
 	},
 	login: {
 		requireCaptcha: false,