Update 0BDFDB.plugin.js
This commit is contained in:
parent
35df30d3ce
commit
4da2865a52
|
@ -2,7 +2,7 @@
|
||||||
* @name BDFDB
|
* @name BDFDB
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 2.4.6
|
* @version 2.4.7
|
||||||
* @description Required Library for DevilBro's Plugins
|
* @description Required Library for DevilBro's Plugins
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -19,7 +19,7 @@ module.exports = (_ => {
|
||||||
"info": {
|
"info": {
|
||||||
"name": "BDFDB",
|
"name": "BDFDB",
|
||||||
"author": "DevilBro",
|
"author": "DevilBro",
|
||||||
"version": "2.4.6",
|
"version": "2.4.7",
|
||||||
"description": "Required Library for DevilBro's Plugins"
|
"description": "Required Library for DevilBro's Plugins"
|
||||||
},
|
},
|
||||||
"rawUrl": "https://mwittrien.github.io/BetterDiscordAddons/Library/0BDFDB.plugin.js"
|
"rawUrl": "https://mwittrien.github.io/BetterDiscordAddons/Library/0BDFDB.plugin.js"
|
||||||
|
@ -8215,17 +8215,15 @@ module.exports = (_ => {
|
||||||
if (count > 20) return BDFDB.TimeUtils.clear(interval);
|
if (count > 20) return BDFDB.TimeUtils.clear(interval);
|
||||||
else {
|
else {
|
||||||
let module = BDFDB.ModuleUtils.findByString("guild-header-popout");
|
let module = BDFDB.ModuleUtils.findByString("guild-header-popout");
|
||||||
if (module) BDFDB.PatchUtils.patch(BDFDB, module.default.prototype, "render", {after: e2 => {
|
if (module) BDFDB.PatchUtils.patch(BDFDB, module, "type", {after: e2 => {
|
||||||
BDFDB.PatchUtils.patch(BDFDB, e2.returnValue.type, "type", {after: e3 => {
|
Internal.triggerQueuePatch("GuildHeaderContextMenu", {
|
||||||
Internal.triggerQueuePatch("GuildHeaderContextMenu", {
|
arguments: e2.methodArguments,
|
||||||
arguments: e3.methodArguments,
|
instance: {props: e2.methodArguments[0]},
|
||||||
instance: {props: e3.methodArguments[0]},
|
returnvalue: e2.returnValue,
|
||||||
returnvalue: e3.returnValue,
|
component: e.returnValue,
|
||||||
component: e2.returnValue,
|
methodname: "type",
|
||||||
methodname: "type",
|
type: "GuildHeaderContextMenu"
|
||||||
type: "GuildHeaderContextMenu"
|
});
|
||||||
});
|
|
||||||
}}, {noCache: true});
|
|
||||||
}});
|
}});
|
||||||
}
|
}
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
Loading…
Reference in New Issue