fix reconnection bugs

This commit is contained in:
MathMan05
2024-07-30 13:23:18 -05:00
parent 03d1bc13c7
commit 1d4c771246
6 changed files with 17 additions and 1 deletions

View File

@@ -106,6 +106,8 @@ class Localuser{
this.guilds=[];
this.guildids=new Map();
this.ws.close(4001)
SnowFlake.clear();
User.clear();
}
async initwebsocket():Promise<void>{
let returny=null