Update EditUsers.plugin.js
This commit is contained in:
parent
1d5460393e
commit
ef974bdde0
|
@ -734,7 +734,7 @@ class EditUsers {
|
|||
let data = this.getUserData(info.id, mention);
|
||||
let member = this.MemberUtils.getMember(this.LastGuildStore.getGuildId(), info.id) || {};
|
||||
let color1 = BDFDB.colorCONVERT(data.color1 || (BDFDB.isPluginEnabled("BetterRoleColors") ? member.colorString : null), "RGBCOMP");
|
||||
let name = BDFDB.isPluginEnabled("RemoveNicknames") ? bdplugins.RemoveNicknames.plugin.getNewName(info) : data.name || member.nick || info.username;
|
||||
let name = data.name ? data.name : (BDFDB.isPluginEnabled("RemoveNicknames") ? bdplugins.RemoveNicknames.plugin.getNewName(info) : member.nick || info.username);
|
||||
BDFDB.setInnerText(mention, "@" + name);
|
||||
if (mention.EditUsersHovered) colorHover();
|
||||
else colorDefault();
|
||||
|
|
Loading…
Reference in New Issue