Update 0BDFDB.plugin.js
This commit is contained in:
parent
857b46df2c
commit
cfe9e66a43
|
@ -2,7 +2,7 @@
|
|||
* @name BDFDB
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 2.5.7
|
||||
* @version 2.5.8
|
||||
* @description Required Library for DevilBro's Plugins
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -568,6 +568,13 @@ module.exports = (_ => {
|
|||
|
||||
BDFDB.PluginUtils.checkUpdate(plugin.name, url);
|
||||
|
||||
if (plugin.changeLog && typeof plugin.getSettingsPanel != "function") plugin.getSettingsPanel = _ => BDFDB.PluginUtils.createSettingsPanel(plugin, {
|
||||
children: BDFDB.ReactUtils.createElement(Internal.LibraryComponents.MessagesPopoutComponents.EmptyStateBottom, {
|
||||
msg: "No Settings available for this Plugin",
|
||||
image: BDFDB.DiscordUtils.getTheme() == BDFDB.disCN.themelight ? "/assets/9b0d90147f7fab54f00dd193fe7f85cd.svg" : "/assets/308e587f3a68412f137f7317206e92c2.svg"
|
||||
})
|
||||
});
|
||||
|
||||
if (!PluginStores.updateData.interval) PluginStores.updateData.interval = BDFDB.TimeUtils.interval(_ => {
|
||||
BDFDB.PluginUtils.checkAllUpdates();
|
||||
}, 1000*60*60*4);
|
||||
|
|
Loading…
Reference in New Issue