Update ThemeRepo.plugin.js

This commit is contained in:
Mirco Wittrien 2021-05-03 15:50:13 +02:00
parent e1092b81a9
commit f2c1f7c4f2
1 changed files with 1 additions and 1 deletions

View File

@ -1262,7 +1262,7 @@ module.exports = (_ => {
}
BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/_res/GeneratorList.txt", (error, response, body) => {
if (!error && body) for (let id of "23 40 45 47".replace(/[\r\t]/g, "").split(" ").map(n => parseInt(n)).filter(n => n != null)) {
if (!error && body) for (let id of body.replace(/[\r\t]/g, "").split(" ").map(n => parseInt(n)).filter(n => n != null)) {
let theme = grabbedThemes.find(t => t.id == id);
if (theme) generatorThemes.push(theme);
}