diff --git a/Plugins/PluginRepo/PluginRepo.plugin.js b/Plugins/PluginRepo/PluginRepo.plugin.js index bd952727e0..5356437475 100644 --- a/Plugins/PluginRepo/PluginRepo.plugin.js +++ b/Plugins/PluginRepo/PluginRepo.plugin.js @@ -1,889 +1,883 @@ //META{"name":"PluginRepo","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/PluginRepo","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/PluginRepo/PluginRepo.plugin.js"}*// -class PluginRepo { - getName () {return "PluginRepo";} - - getVersion () {return "1.8.8";} - - getAuthor () {return "DevilBro";} - - getDescription () {return "Allows you to look at all plugins from the plugin repo and download them on the fly. Repo button is in the plugins settings.";} - - constructor () { - this.changelog = { - "improved":[["Promise Error","Fixed issue where PluginRepo wouldnt load when an installed plugin has no getAuthor"]] - }; - - this.patchedModules = { - after: { - "V2C_List":"componentDidMount" - } - }; - } - - initConstructor () { - this.sortings = { - sort: { - name: "Name", - author: "Author", - version: "Version", - description: "Description", - state: "Update State", - fav: "Favorites", - new: "New Plugins" - }, - order: { - asc: "Ascending", - desc: "Descending" - } - }; - - this.loading = {is:false, timeout:null, amount:0}; - - this.cachedPlugins = []; - this.grabbedPlugins = []; - this.foundPlugins = []; - this.loadedPlugins = {}; - - this.updateInterval; - - this.pluginRepoIconMarkup = - ``; - - this.frameMarkup = - ``; - - this.pluginEntryMarkup = - `