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
							
								
									c097fce841
								
							
						
					
					
						commit
						22467f2596
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nobody
						Nobody