diff options
author | Nobody <git@n0bodysec.com> | 2022-03-08 05:07:39 -0300 |
---|---|---|
committer | Erkin Alp Güney <erkinalp9035@gmail.com> | 2022-03-08 18:05:41 +0300 |
commit | a042d4eb34b9bcc344014974a5131e99a6954265 (patch) | |
tree | b4e642365ddace4009ca941251ba6ccebfcb69b6 /gateway/src/opcodes/Identify.ts | |
parent | Fix bans list (#674) (diff) | |
download | server-a042d4eb34b9bcc344014974a5131e99a6954265.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | gateway/src/opcodes/Identify.ts | 2 |
1 files changed, 0 insertions, 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 |