pfp randomization for new users
This commit is contained in:
@@ -144,7 +144,8 @@ class User {
|
||||
return this.info.cdn + "/avatars/" + this.id + "/" + this.avatar + ".png";
|
||||
}
|
||||
else {
|
||||
return this.info.cdn + "/embed/avatars/3.png";
|
||||
const int = new Number((BigInt(this.id) >> 22n) % 6n);
|
||||
return this.info.cdn + `/embed/avatars/${int}.png`;
|
||||
}
|
||||
}
|
||||
createjankpromises() {
|
||||
|
Reference in New Issue
Block a user