From 85b4f1b68e49748dbde761c4f604c4a64e6bae89 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Fri, 28 Nov 2025 14:46:26 -0600 Subject: [PATCH] show blocked user instead of username --- src/webpage/user.ts | 2 +- translations/en.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webpage/user.ts b/src/webpage/user.ts index 569f049..ba6fa27 100644 --- a/src/webpage/user.ts +++ b/src/webpage/user.ts @@ -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 { diff --git a/translations/en.json b/translations/en.json index df4c06f..c723bba 100644 --- a/translations/en.json +++ b/translations/en.json @@ -648,6 +648,7 @@ "friends": { "blocked": "Blocked", "blockedusers": "Blocked Users:", + "bu":"Blocked User", "addfriend": "Add Friend", "removeFriend": "Remove Friend", "addfriendpromt": "Add friends by username:",