show blocked user instead of username

This commit is contained in:
MathMan05
2025-11-28 14:46:26 -06:00
parent f9d5070c4f
commit 85b4f1b68e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -559,7 +559,7 @@ class User extends SnowFlake {
}
get name() {
return this.username;
return this.relationshipType === 2 ? I18n.friends.bu() : this.username;
}
async resolvemember(guild: Guild): Promise<Member | undefined> {
+1
View File
@@ -648,6 +648,7 @@
"friends": {
"blocked": "Blocked",
"blockedusers": "Blocked Users:",
"bu":"Blocked User",
"addfriend": "Add Friend",
"removeFriend": "Remove Friend",
"addfriendpromt": "Add friends by username:",