From a042d4eb34b9bcc344014974a5131e99a6954265 Mon Sep 17 00:00:00 2001 From: Nobody Date: Tue, 8 Mar 2022 05:07:39 -0300 Subject: [PATCH] refactor(gateway): delete hardcoded guild boosts Since you can set `premium_subscription_count` and `premium_tier` by editing the database (and it works fine), this should not be hardcoded. --- gateway/src/opcodes/Identify.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts index 904aa963..eb15c28f 100644 --- a/gateway/src/opcodes/Identify.ts +++ b/gateway/src/opcodes/Identify.ts @@ -240,8 +240,6 @@ export async function onIdentify(this: WebSocket, data: Payload) { x.guild_hashes = {}; // @ts-ignore x.guild_scheduled_events = []; // @ts-ignore x.threads = []; - x.premium_subscription_count = 30; - x.premium_tier = 3; return x; }), guild_experiments: [], // TODO