Create 0BDFDB.plugin.js
This commit is contained in:
parent
93f45013bd
commit
ba4cdaa73d
|
@ -984,7 +984,7 @@ module.exports = (_ => {
|
||||||
request.get(`${myGithub}/Library/_res/BDFDB.data.json`, BDFDB.TimeUtils.suppress((e2, r2, b2) => {
|
request.get(`${myGithub}/Library/_res/BDFDB.data.json`, BDFDB.TimeUtils.suppress((e2, r2, b2) => {
|
||||||
if (e2 || !b2 || r2.statusCode != 200) {
|
if (e2 || !b2 || r2.statusCode != 200) {
|
||||||
if (tryAgain) return BDFDB.TimeUtils.timeout(_ => loadLibrary(), 10000);
|
if (tryAgain) return BDFDB.TimeUtils.timeout(_ => loadLibrary(), 10000);
|
||||||
else BdApi.alert("Error", "Could not initiate BDFDB Library Plugin. Check your Internet Connection and make sure GitHub isn't blocked in your Network.");
|
else BdApi.alert("Error", "Could not initiate BDFDB Library Plugin. Check your Internet Connection and make sure GitHub isn't blocked by your Network.");
|
||||||
}
|
}
|
||||||
const InternalData = JSON.parse(b2);
|
const InternalData = JSON.parse(b2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue