Library FIx
This commit is contained in:
parent
e7e99e4056
commit
af9fdd688b
|
@ -2,7 +2,7 @@
|
|||
* @name BDFDB
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 3.6.9
|
||||
* @version 3.7.0
|
||||
* @description Required Library for DevilBro's Plugins
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -27,7 +27,9 @@ module.exports = (_ => {
|
|||
BDFDB = {
|
||||
started: true,
|
||||
changeLog: {
|
||||
|
||||
"fixed": {
|
||||
"A lot of Plugin Issues": "Library should be stable again and Plugins should be running again, there will be some Issues with Plugins not working properly yet, let me know if you catch a bug"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -2552,7 +2554,11 @@ module.exports = (_ => {
|
|||
if (LibraryModules[item]) return LibraryModules[item];
|
||||
if (!InternalData.LibraryModules[item]) return null;
|
||||
|
||||
Internal.findModuleViaData(LibraryModules, InternalData.LibraryModules, item);
|
||||
if (item == "HTTPUtils") {
|
||||
const APIUtils = Internal.LibraryModules.APIUtils;
|
||||
if (APIUtils && InternalData.LibraryModules.HTTPUtils.props) LibraryModules[item] = (Object.entries(APIUtils).find(entry => InternalData.LibraryModules.HTTPUtils.props.every(prop => entry[1][prop] !== undefined)) || [])[1];
|
||||
}
|
||||
else Internal.findModuleViaData(LibraryModules, InternalData.LibraryModules, item);
|
||||
|
||||
return LibraryModules[item] ? LibraryModules[item] : null;
|
||||
}
|
||||
|
|
|
@ -160,6 +160,7 @@
|
|||
"HistoryUtils": {"strings": ["transitionTo - Transitioning to", ",channelId:"], "exported": false, "value": "exports", "map": {
|
||||
"transitionTo": ["transitionTo - Transitioning to"]
|
||||
}},
|
||||
"HTTPUtils": {"props": ["get", "patch", "del"]},
|
||||
"IconUtils": {"props": ["getGuildIconURL", "getGuildBannerURL"]},
|
||||
"InviteUtils": {"props": ["acceptInvite", "createInvite"]},
|
||||
"InternalReactUtils": {"props": ["jsx", "jsxs", "Fragment"]},
|
||||
|
@ -587,7 +588,7 @@
|
|||
"UserSummaryItem": {"protos": ["renderMoreUsers", "renderUsers", "renderIcon"]},
|
||||
"UserSettingsAppearance": {"protos": ["renderTheme", "renderDisplayMode", "renderMessageGroupSpacingSlider"]},
|
||||
"UserTheme": {"strings": [".UserProfileThemeContextProvider", "pendingThemeColors:"], "noSearch": true},
|
||||
"UserThemeContainer": {"strings": [".trackUserProfileAction", "guildId:", ".Provider"], "noSearch": true},
|
||||
"UserThemeContainer": {"strings": ["shouldTrackView", "guildId:", ".Provider"], "noSearch": true},
|
||||
"VideoBackground": {"strings": ["backgroundSrc:", "pulseSpeakingIndicator:", ".avatarWrapper"]},
|
||||
"VoiceUser": {"protos": ["renderPrioritySpeaker", "renderIcons", "renderAvatar"]},
|
||||
"VoiceUsers": {"strings": ["hidePreview", "previewIsOpen", "Permissions.MOVE_MEMBERS"]}
|
||||
|
|
Loading…
Reference in New Issue