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:
parent
110d58b5d2
commit
a042d4eb34
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user