Update EditUsers.plugin.js
This commit is contained in:
parent
ebc8ef5f4c
commit
591efd060d
|
@ -706,7 +706,6 @@ class EditUsers {
|
||||||
changeMention (info, mention) {
|
changeMention (info, mention) {
|
||||||
if (!info || !mention || !mention.parentElement) return;
|
if (!info || !mention || !mention.parentElement) return;
|
||||||
if (mention.EditUsersChangeObserver && typeof mention.EditUsersChangeObserver.disconnect == "function") mention.EditUsersChangeObserver.disconnect();
|
if (mention.EditUsersChangeObserver && typeof mention.EditUsersChangeObserver.disconnect == "function") mention.EditUsersChangeObserver.disconnect();
|
||||||
console.log(info, mention);
|
|
||||||
let data = BDFDB.loadData(info.id, this, "users") || {};
|
let data = BDFDB.loadData(info.id, this, "users") || {};
|
||||||
let member = this.MemberUtils.getMember(this.LastGuildStore.getGuildId(), info.id) || {};
|
let member = this.MemberUtils.getMember(this.LastGuildStore.getGuildId(), info.id) || {};
|
||||||
let color1 = BDFDB.colorCONVERT(data.color1 || (BDFDB.isPluginEnabled("BetterRoleColors") ? member.colorString : null), "RGBCOMP");
|
let color1 = BDFDB.colorCONVERT(data.color1 || (BDFDB.isPluginEnabled("BetterRoleColors") ? member.colorString : null), "RGBCOMP");
|
||||||
|
|
Loading…
Reference in New Issue