mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-29 03:28:45 +00:00
mutral guilds click event
This commit is contained in:
+6
-1
@@ -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;
|
||||
})
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user