stuff
This commit is contained in:
parent
4b39bb0700
commit
100fb85d57
|
@ -141,7 +141,8 @@
|
|||
}},
|
||||
"MediaEngineUtils": {"props": ["setOutputDevice", "setInputDevice"]},
|
||||
"MemberDisplayUtils": {"strings": ["getUserProfile", "getGuildMemberProfile", "_userProfile"], "exported": false, "value": "exports", "map": {
|
||||
"getDisplayProfile": [");return null"]
|
||||
"getDisplayProfile": ["getUserProfile"],
|
||||
"getUserProfile": ["function(){return"]
|
||||
}},
|
||||
"MentionUtils": {"strings": ["rawMessage", "mention_everyone", "mentionUsers"], "exported": false, "value": "exports", "map": {
|
||||
"isRawMessageMentioned": ["rawMessage", "mention_everyone", "mentionUsers"]
|
||||
|
@ -230,9 +231,6 @@
|
|||
}},
|
||||
"UserSettingsProtoUtils": {"strings": ["UserSettingsProtoLastWriteTimes"], "exported": false, "value": "exports"},
|
||||
"UserSettingsUtils": {"props": ["open", "updateAccount"]},
|
||||
"UserThemeUtils": {"strings": [".default]", ".getUserProfile", ".getGuildMemberProfile"], "exported": false, "value": "exports", "map": {
|
||||
"getUserProfile": [".default]"]
|
||||
}},
|
||||
"Utilities": {"props": ["flatMap", "cloneDeep"]},
|
||||
"WindowUtils": {"props": ["minimize", "maximize", "close"]}
|
||||
},
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @name EditUsers
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 4.7.6
|
||||
* @version 4.7.7
|
||||
* @description Allows you to locally edit Users
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -284,7 +284,7 @@ module.exports = (_ => {
|
|||
return e.callOriginalMethod();
|
||||
}});
|
||||
|
||||
BDFDB.PatchUtils.patch(this, BDFDB.LibraryModules.UserThemeUtils, "getUserProfile", {after: e => {
|
||||
BDFDB.PatchUtils.patch(this, BDFDB.LibraryModules.MemberDisplayUtils, "getUserProfile", {after: e => {
|
||||
if (!e.returnValue || !changedUsers[e.methodArguments[0]] || !changedUsers[e.methodArguments[0]].color5 && !changedUsers[e.methodArguments[0]].color6 && !changedUsers[e.methodArguments[0]].color7) return;
|
||||
let newProfileObject = {};
|
||||
for (let key in e.returnValue) newProfileObject[key] = e.returnValue[key];
|
||||
|
|
Loading…
Reference in New Issue