staff
This commit is contained in:
parent
85cbddcd87
commit
c671e5b416
|
@ -2,7 +2,7 @@
|
||||||
* @name EditUsers
|
* @name EditUsers
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 4.2.3
|
* @version 4.2.4
|
||||||
* @description Allows you to locally edit Users
|
* @description Allows you to locally edit Users
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -17,12 +17,12 @@ module.exports = (_ => {
|
||||||
"info": {
|
"info": {
|
||||||
"name": "EditUsers",
|
"name": "EditUsers",
|
||||||
"author": "DevilBro",
|
"author": "DevilBro",
|
||||||
"version": "4.2.3",
|
"version": "4.2.4",
|
||||||
"description": "Allows you to locally edit Users"
|
"description": "Allows you to locally edit Users"
|
||||||
},
|
},
|
||||||
"changeLog": {
|
"changeLog": {
|
||||||
"improved": {
|
"improved": {
|
||||||
"New User Popout": "Fixed for the new User Popout, which will be released soon-ish"
|
"New User Popout": "Fixed for the new User Popout, which will be released soon-ish, again and again and again, stop changing Stuff Discord"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -445,7 +445,7 @@ module.exports = (_ => {
|
||||||
change = this.settings.places.userPopout;
|
change = this.settings.places.userPopout;
|
||||||
guildId = BDFDB.LibraryModules.LastGuildStore.getGuildId();
|
guildId = BDFDB.LibraryModules.LastGuildStore.getGuildId();
|
||||||
changeBackground = true;
|
changeBackground = true;
|
||||||
tagClass = BDFDB.disCN.bottagnametag;
|
tagClass = BDFDB.disCN.userpopoutheaderbottag + BDFDB.disCN.bottagnametag;
|
||||||
break;
|
break;
|
||||||
case BDFDB.disCN.userprofilenametag:
|
case BDFDB.disCN.userprofilenametag:
|
||||||
change = this.settings.places.userProfile;
|
change = this.settings.places.userProfile;
|
||||||
|
@ -500,7 +500,7 @@ module.exports = (_ => {
|
||||||
this.changeUserColor(children[index], e.instance.props.user.id, {changeBackground: true});
|
this.changeUserColor(children[index], e.instance.props.user.id, {changeBackground: true});
|
||||||
if (!BDFDB.ArrayUtils.is(children[index].props.children)) children[index].props.children = [children[index].props.children].flat(10);
|
if (!BDFDB.ArrayUtils.is(children[index].props.children)) children[index].props.children = [children[index].props.children].flat(10);
|
||||||
this.injectBadge(children[index].props.children, e.instance.props.user.id, BDFDB.LibraryModules.LastGuildStore.getGuildId(), 2, {
|
this.injectBadge(children[index].props.children, e.instance.props.user.id, BDFDB.LibraryModules.LastGuildStore.getGuildId(), 2, {
|
||||||
tagClass: BDFDB.disCN.bottagnametag,
|
tagClass: BDFDB.disCNS.userpopoutheaderbottag + BDFDB.disCN.bottagnametag,
|
||||||
inverted: typeof e.instance.getMode == "function" && e.instance.getMode() !== "Normal"
|
inverted: typeof e.instance.getMode == "function" && e.instance.getMode() !== "Normal"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @name StaffTag
|
* @name StaffTag
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 1.4.2
|
* @version 1.4.3
|
||||||
* @description Adds a Crown/Tag to Server Owners (or Admins/Management)
|
* @description Adds a Crown/Tag to Server Owners (or Admins/Management)
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -17,12 +17,12 @@ module.exports = (_ => {
|
||||||
"info": {
|
"info": {
|
||||||
"name": "StaffTag",
|
"name": "StaffTag",
|
||||||
"author": "DevilBro",
|
"author": "DevilBro",
|
||||||
"version": "1.4.2",
|
"version": "1.4.3",
|
||||||
"description": "Adds a Crown/Tag to Server Owners (or Admins/Management)"
|
"description": "Adds a Crown/Tag to Server Owners (or Admins/Management)"
|
||||||
},
|
},
|
||||||
"changeLog": {
|
"changeLog": {
|
||||||
"improved": {
|
"improved": {
|
||||||
"New User Popout": "Fixed for the new User Popout, which will be released soon-ish"
|
"New User Popout": "Fixed for the new User Popout, which will be released soon-ish, again and again and again, stop changing Stuff Discord"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -268,7 +268,7 @@ module.exports = (_ => {
|
||||||
switch (e.instance.props.className) {
|
switch (e.instance.props.className) {
|
||||||
case BDFDB.disCN.userpopoutheadertagnonickname:
|
case BDFDB.disCN.userpopoutheadertagnonickname:
|
||||||
inject = this.settings.tagPlaces.userPopout;
|
inject = this.settings.tagPlaces.userPopout;
|
||||||
tagClass = BDFDB.disCN.bottagnametag;
|
tagClass = BDFDB.disCNS.userpopoutheaderbottag + BDFDB.disCN.bottagnametag;
|
||||||
break;
|
break;
|
||||||
case BDFDB.disCN.userprofilenametag:
|
case BDFDB.disCN.userprofilenametag:
|
||||||
inject = this.settings.tagPlaces.userProfile;
|
inject = this.settings.tagPlaces.userProfile;
|
||||||
|
@ -292,7 +292,7 @@ module.exports = (_ => {
|
||||||
if (index > -1) {
|
if (index > -1) {
|
||||||
if (!BDFDB.ArrayUtils.is(children[index].props.children)) children[index].props.children = [children[index].props.children].flat(10);
|
if (!BDFDB.ArrayUtils.is(children[index].props.children)) children[index].props.children = [children[index].props.children].flat(10);
|
||||||
this.injectStaffTag(children[index].props.children, e.instance.props.user, userType, 2, {
|
this.injectStaffTag(children[index].props.children, e.instance.props.user, userType, 2, {
|
||||||
tagClass: BDFDB.disCN.bottagnametag,
|
tagClass: BDFDB.disCNS.userpopoutheaderbottag + BDFDB.disCN.bottagnametag,
|
||||||
inverted: typeof e.instance.getMode == "function" && e.instance.getMode() !== "Normal"
|
inverted: typeof e.instance.getMode == "function" && e.instance.getMode() !== "Normal"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue