1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 10:52:31 +01:00

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.
This commit is contained in:
Nobody 2022-03-08 05:07:39 -03:00 committed by Erkin Alp Güney
parent 110d58b5d2
commit a042d4eb34

View File

@ -240,8 +240,6 @@ export async function onIdentify(this: WebSocket, data: Payload) {
x.guild_hashes = {}; // @ts-ignore x.guild_hashes = {}; // @ts-ignore
x.guild_scheduled_events = []; // @ts-ignore x.guild_scheduled_events = []; // @ts-ignore
x.threads = []; x.threads = [];
x.premium_subscription_count = 30;
x.premium_tier = 3;
return x; return x;
}), }),
guild_experiments: [], // TODO guild_experiments: [], // TODO