This commit is contained in:
Mirco Wittrien 2022-11-06 11:45:12 +01:00
parent 0e54645076
commit acc500e3b1
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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"]},