minor fixes
This commit is contained in:
parent
3469721114
commit
952638a4c6
3 changed files with 4 additions and 4 deletions
|
@ -295,7 +295,7 @@ class User extends SnowFlake{
|
|||
if(this.hypotheticalpfp&&this.avatar){
|
||||
return this.avatar;
|
||||
}
|
||||
if(this.avatar!=null){
|
||||
if(this.avatar!==null){
|
||||
return this.info.cdn+"/avatars/"+this.id.replace("#clone","")+"/"+this.avatar+".png";
|
||||
}else{
|
||||
const int=new Number((BigInt(this.id.replace("#clone","")) >> 22n) % 6n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue