mutral guilds click event

This commit is contained in:
Mathium05
2026-07-30 16:42:51 -05:00
parent 0c622b93a5
commit 30a12362d8
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -1447,7 +1447,7 @@ class User extends SnowFlake {
};
(async () => {
const high = await this.highInfo();
const mut = buttons.add(I18n.profile.mut());
const mut = buttons.add(I18n.profile.mut(high.mutual_guilds.length + ""));
const mutDiv = document.createElement("div");
mutDiv.append(
@@ -1466,6 +1466,11 @@ class User extends SnowFlake {
gname.textContent = guild.properties.name;
info.append(gname);
box.append(icon, info);
box.onclick = () => {
removeAni(background);
guild.loadGuild();
guild.loadChannel();
};
if (nick) info.append(nick);
return box;
})
+1 -1
View File
@@ -810,7 +810,7 @@
"bio": "About me:",
"joined": "Account made: $1",
"joinedMember": "Joined $1: $2",
"mut": "Mutual guilds",
"mut": "Mutual guilds ($1)",
"mutFriends": "Mutual friends",
"permInfo": "Permissions",
"userInfo": "User info",