Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2021-03-03 11:16:29 +01:00
parent 206108ba96
commit 4a3071103c
1 changed files with 1 additions and 1 deletions

View File

@ -945,7 +945,7 @@ module.exports = (_ => {
const loadLibrary = tryAgain => {
const branch = ((BdApi.findModuleByProps("getCurrentUser") || {getCurrentUser: _ => {}}).getCurrentUser() || {}).id == "278543574059057154" ? "developement" : "master";
const branch = ((BdApi.findModuleByProps("getCurrentUser") || {getCurrentUser: _ => {}}).getCurrentUser() || {}).id == "278543574059057154" ? "development" : "master";
require("request").get(`https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/${branch}/Library/BDFDB.raw.css`, (e, r, b) => {
if ((e || !b) && tryAgain) return BDFDB.TimeUtils.timeout(_ => loadLibrary(), 10000);
const css = b;