diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 09e6f0ba4d..72cb9fe2c1 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -2,7 +2,7 @@ * @name BDFDB * @author DevilBro * @authorId 278543574059057154 - * @version 2.9.7 + * @version 2.9.8 * @description Required Library for DevilBro's Plugins * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -2187,7 +2187,7 @@ module.exports = (_ => { for (let type of plugin.modulePatches[patchType]) { if (InternalData.PatchModules[type]) { let found = false; - if (patchType == "before" || patchType == "after") { + if (!InternalData.PatchModules[type].noSearch && (patchType == "before" || patchType == "after")) { let exports = (BDFDB.ModuleUtils.find(m => Internal.isCorrectModule(m, type) && m, {defaultExport: false}) || {}).exports; if (exports && !exports.default) for (let key of Object.keys(exports)) if (typeof exports[key] == "function" && !(exports[key].prototype && exports[key].prototype.render) && Internal.isCorrectModule(exports[key], type, false) && exports[key].toString().length < 50000) { found = true; diff --git a/Library/_res/0BDFDB.data.json b/Library/_res/0BDFDB.data.json index ce4ecc90d2..55a1f30e8d 100644 --- a/Library/_res/0BDFDB.data.json +++ b/Library/_res/0BDFDB.data.json @@ -238,7 +238,7 @@ "LibraryComponents": { "Anchor": {"strings": ["anchorUnderlineOnHover", "noreferrer noopener"]}, "Animations": {"props": ["Controller", "Spring"]}, - "AppReferencePositionLayer": {"strings": ["\"onMount\"", "\"onUnmount\""]}, + "AppReferencePositionLayer": {"strings": ["\"onMount\"", "\"onUnmount\""], "funcStrings": ["createRef"]}, "Avatars": {"strings": ["\"statusColor\"", "ONLINE", "isMobile"], "exported": false, "value": "exports", "map": { "AnimatedAvatar": ["compare"], "Avatar": ["statusColor"], @@ -422,7 +422,7 @@ "MessageContent": {"strings": [".SEND_FAILED", "editedTimestamp", ".MESSAGE_EDITED"]}, "MessageContextMenu": {"strings": ["MESSAGE_ACTIONS_MENU_LABEL", "navId:\"message", "getGuildId"]}, "MessageGroup": {"strings": ["backgroundFlash", "renderMediaEmbeds", "THREAD_STARTER_MESSAG"]}, - "MessageHeader": {"strings": ["showTimestampOnHover", "usernameClassName", "isVisibleOnlyOnHover:"]}, + "MessageHeader": {"strings": ["showTimestampOnHover", "usernameClassName", "isVisibleOnlyOnHover:"], "noSearch": true}, "MessageReply": {"strings": [".isFirstMessageInForumPost", ".referencedUsernameProfile", "referencedMessage"]}, "Messages": {"strings": ["messageGroupSpacing", "groupSpacing", "jumpToPresent"]}, "MessageSearchResultContextMenu": {"strings": ["MESSAGE_ACTIONS_MENU_LABEL", "navId:\"message"], "nonStrings": ["getGuildId"]},