This commit is contained in:
Mirco Wittrien 2021-06-03 16:27:44 +02:00
parent 70f291f8b0
commit 3c86d0dba1
5 changed files with 27 additions and 39 deletions

View File

@ -2,7 +2,7 @@
* @name CreationDate
* @author DevilBro
* @authorId 278543574059057154
* @version 1.4.2
* @version 1.4.3
* @description Displays the Creation Date of an Account in the UserPopout and UserModal
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,12 +17,12 @@ module.exports = (_ => {
"info": {
"name": "CreationDate",
"author": "DevilBro",
"version": "1.4.2",
"version": "1.4.3",
"description": "Displays the Creation Date of an Account in the UserPopout and UserModal"
},
"changeLog": {
"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, STOOOOOOOOOOOOOOOOOOOOP JESUS"
}
}
};
@ -82,8 +82,7 @@ module.exports = (_ => {
this.patchedModules = {
after: {
UserPopout: "render",
UserPopoutHeader: "default",
UserPopoutInfo: "default",
AnalyticsContext: "render"
}
};
@ -154,15 +153,8 @@ module.exports = (_ => {
BDFDB.PatchUtils.forceAllUpdates(this);
}
}
processUserPopout (e) {
if (e.instance.props.user && this.settings.places.userPopout) {
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: "CustomStatus"});
if (index > -1) this.injectDate(children, 2, e.instance.props.user);
}
}
processUserPopoutHeader (e) {
processUserPopoutInfo (e) {
if (e.instance.props.user && this.settings.places.userPopout) {
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: "CustomStatus"});
if (index > -1) this.injectDate(children, 2, e.instance.props.user);

View File

@ -2,7 +2,7 @@
* @name EditUsers
* @author DevilBro
* @authorId 278543574059057154
* @version 4.2.6
* @version 4.2.7
* @description Allows you to locally edit Users
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,16 +17,12 @@ module.exports = (_ => {
"info": {
"name": "EditUsers",
"author": "DevilBro",
"version": "4.2.6",
"version": "4.2.7",
"description": "Allows you to locally edit Users"
},
"changeLog": {
"added": {
"Show Server Nickname": "Added an Option to Show the Server Nickname behind the local Nickname",
"Banners": "Added Support for banners"
},
"fixed": {
"Voice User List": "Fixed Voice User List not being changed in some places"
"improved": {
"New User Popout": "Fixed for the new User Popout, which will be released soon-ish, again and again and again, stop changing Stuff Discord, STOOOOOOOOOOOOOOOOOOOOP JESUS"
}
}
};
@ -110,7 +106,7 @@ module.exports = (_ => {
HeaderBarContainer: "render",
ChannelEditorContainer: "render",
AutocompleteUserResult: "render",
UserPopoutHeader: "default",
UserPopoutInfo: "default",
UserProfile: "render",
UserInfo: "default",
NowPlayingHeader: "Header",
@ -144,7 +140,7 @@ module.exports = (_ => {
AutocompleteUserResult: "render",
DiscordTag: "default",
NameTag: "default",
UserPopoutHeader: "default",
UserPopoutInfo: "default",
NowPlayingHeader: "Header",
VoiceUser: "render",
Account: "render",
@ -495,7 +491,7 @@ module.exports = (_ => {
}
}
processUserPopoutHeader (e) {
processUserPopoutInfo (e) {
if (e.instance.props.user && this.settings.places.userPopout) {
let data = changedUsers[e.instance.props.user.id];
if (!e.returnvalue) {

View File

@ -2,7 +2,7 @@
* @name JoinedAtDate
* @author DevilBro
* @authorId 278543574059057154
* @version 1.2.8
* @version 1.2.9
* @description Displays the Joined At Date of a Member in the UserPopout and UserModal
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,12 +17,12 @@ module.exports = (_ => {
"info": {
"name": "JoinedAtDate",
"author": "DevilBro",
"version": "1.2.8",
"version": "1.2.9",
"description": "Displays the Joined At Date of a Member in the UserPopout and UserModal"
},
"changeLog": {
"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, STOOOOOOOOOOOOOOOOOOOOP JESUS"
}
}
};
@ -89,7 +89,7 @@ module.exports = (_ => {
this.patchedModules = {
after: {
UserPopout: "render",
UserPopoutHeader: "default",
UserPopoutInfo: "default",
AnalyticsContext: "render"
}
};
@ -164,7 +164,7 @@ module.exports = (_ => {
currentPopout = e.instance;
}
processUserPopoutHeader (e) {
processUserPopoutInfo (e) {
if (e.instance.props.user && this.settings.places.userPopout) {
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: "CustomStatus"});
if (index > -1) this.injectDate(currentPopout, children, 2, e.instance.props.user, e.instance.props.guildId);

View File

@ -2,7 +2,7 @@
* @name LastMessageDate
* @author DevilBro
* @authorId 278543574059057154
* @version 1.2.3
* @version 1.2.4
* @description Displays the Last Message Date of a Member for the current Server/DM in the UserPopout and UserModal
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,12 +17,12 @@ module.exports = (_ => {
"info": {
"name": "LastMessageDate",
"author": "DevilBro",
"version": "1.2.3",
"version": "1.2.4",
"description": "Displays the Last Message Date of a Member for the current Server/DM in the UserPopout and UserModal"
},
"changeLog": {
"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, STOOOOOOOOOOOOOOOOOOOOP JESUS"
}
}
};
@ -89,7 +89,7 @@ module.exports = (_ => {
this.patchedModules = {
after: {
UserPopout: "render",
UserPopoutHeader: "default",
UserPopoutInfo: "default",
AnalyticsContext: "render"
}
};
@ -174,7 +174,7 @@ module.exports = (_ => {
currentPopout = e.instance;
}
processUserPopoutHeader (e) {
processUserPopoutInfo (e) {
if (e.instance.props.user && this.settings.places.userPopout) {
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: "CustomStatus"});
if (index > -1) this.injectDate(currentPopout, children, 2, e.instance.props.user, e.instance.props.guildId);

View File

@ -2,7 +2,7 @@
* @name StaffTag
* @author DevilBro
* @authorId 278543574059057154
* @version 1.4.3
* @version 1.4.4
* @description Adds a Crown/Tag to Server Owners (or Admins/Management)
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,12 +17,12 @@ module.exports = (_ => {
"info": {
"name": "StaffTag",
"author": "DevilBro",
"version": "1.4.3",
"version": "1.4.4",
"description": "Adds a Crown/Tag to Server Owners (or Admins/Management)"
},
"changeLog": {
"improved": {
"New User Popout": "Fixed for the new User Popout, which will be released soon-ish, again and again and again, stop changing Stuff Discord"
"New User Popout": "Fixed for the new User Popout, which will be released soon-ish, again and again and again, stop changing Stuff Discord, STOOOOOOOOOOOOOOOOOOOOP JESUS"
}
}
};
@ -80,7 +80,7 @@ module.exports = (_ => {
MessageUsername: "default",
VoiceUser: "render",
NameTag: "default",
UserPopoutHeader: "default"
UserPopoutInfo: "default"
}
};
@ -284,7 +284,7 @@ module.exports = (_ => {
}
}
processUserPopoutHeader (e) {
processUserPopoutInfo (e) {
if (e.instance.props.user && this.settings.tagPlaces.userPopout) {
let userType = this.getUserType(e.instance.props.user, e.instance.props.channel && e.instance.props.channel.id);
if (userType) {