Update PluginRepo.plugin.js

This commit is contained in:
Mirco Wittrien 2021-05-08 09:19:43 +02:00 committed by GitHub
parent d61a951eca
commit 82effb10a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

View File

@ -2,7 +2,7 @@
* @name PluginRepo * @name PluginRepo
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 2.2.1 * @version 2.2.2
* @description Allows you to download all Plugins from BD's Website within Discord * @description Allows you to download all Plugins from BD's Website within Discord
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -17,12 +17,15 @@ module.exports = (_ => {
"info": { "info": {
"name": "PluginRepo", "name": "PluginRepo",
"author": "DevilBro", "author": "DevilBro",
"version": "2.2.1", "version": "2.2.2",
"description": "Allows you to download all Plugins from BD's Website within Discord" "description": "Allows you to download all Plugins from BD's Website within Discord"
}, },
"changeLog": { "changeLog": {
"improved": { "improved": {
"Thumbnail Conversion": "Moved Thumbnail Conversion to Card Component to reduce stress on BD Website" "Thumbnail Conversion": "Moved Thumbnail Conversion to Card Component to reduce stress on BD Website"
},
"fixed": {
"Settings": "No longer get reset"
} }
} }
}; };
@ -206,7 +209,7 @@ module.exports = (_ => {
title: "Show following Plugins", title: "Show following Plugins",
children: Object.keys(_this.defaults.filters).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { children: Object.keys(_this.defaults.filters).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, {
type: "Switch", type: "Switch",
plugin: this, plugin: _this,
keys: ["filters", key], keys: ["filters", key],
label: _this.defaults.filters[key].description, label: _this.defaults.filters[key].description,
value: _this.settings.filters[key], value: _this.settings.filters[key],
@ -218,7 +221,7 @@ module.exports = (_ => {
}), }),
Object.keys(_this.defaults.general).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { Object.keys(_this.defaults.general).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, {
type: "Switch", type: "Switch",
plugin: this, plugin: _this,
keys: ["general", key], keys: ["general", key],
label: _this.defaults.general[key].description, label: _this.defaults.general[key].description,
note: key == "rnmStart" && !automaticLoading && "Automatic Loading has to be enabled", note: key == "rnmStart" && !automaticLoading && "Automatic Loading has to be enabled",