Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2023-12-01 09:58:07 +01:00
parent 2d3fcc317e
commit 82002de394
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
* @name BDFDB
* @author DevilBro
* @authorId 278543574059057154
* @version 3.5.4
* @version 3.5.5
* @description Required Library for DevilBro's Plugins
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -1192,7 +1192,8 @@ module.exports = (_ => {
Internal.getWebModuleReq = function () {
if (!Internal.getWebModuleReq.req) {
const id = "BDFDB-WebModules_" + Math.floor(Math.random() * 10000000000000000);
const req = webpackChunkdiscord_app.push([[id], {}, req => req]);
let req;
webpackChunkdiscord_app.push([[id], {}, r => {if (r.c) req = r;}]);
delete req.m[id];
delete req.c[id];
Internal.getWebModuleReq.req = req;