get rid of snowflake stuff more

This commit is contained in:
MathMan05
2024-09-03 10:41:17 -05:00
parent 03041cf9fd
commit 004beb4955
13 changed files with 23 additions and 47 deletions

View File

@@ -10,7 +10,7 @@ import{ presencejson, userjson }from"./jsontypes.js";
class User{
owner:Localuser;
hypotheticalpfp:boolean;
snowflake:SnowFlake<User>;
snowflake:SnowFlake;
avatar:string|null;
username:string;
nickname:string|null=null;
@@ -153,7 +153,7 @@ class User{
continue;
}
if(thing === "id"){
this.snowflake=new SnowFlake(userjson[thing],this);
this.snowflake=new SnowFlake(userjson[thing]);
continue;
}
this[thing]=userjson[thing];