BandageBD Naming --> LightcordBD
This commit is contained in:
parent
8d7bcfd360
commit
c6bc14a1d7
|
@ -1,6 +1,6 @@
|
||||||
export default () => {
|
export default () => {
|
||||||
const v2Loader = document.createElement("div");
|
const v2Loader = document.createElement("div");
|
||||||
v2Loader.className = "bd-loaderv2";
|
v2Loader.className = "bd-loaderv2";
|
||||||
v2Loader.title = "BandagedBD is loading...";
|
v2Loader.title = "LightcordBD is loading...";
|
||||||
document.body.appendChild(v2Loader);
|
document.body.appendChild(v2Loader);
|
||||||
};
|
};
|
|
@ -54,12 +54,12 @@ Core.prototype.init = async function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.ED) {
|
if (window.ED) {
|
||||||
Utils.alert("Not Supported", "BandagedBD does not work with EnhancedDiscord. Please uninstall one of them.");
|
Utils.alert("Not Supported", "LightcordBD does not work with EnhancedDiscord. Please uninstall one of them.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.WebSocket && window.WebSocket.name && window.WebSocket.name.includes("Patched")) {
|
if (window.WebSocket && window.WebSocket.name && window.WebSocket.name.includes("Patched")) {
|
||||||
Utils.alert("Not Supported", "BandagedBD does not work with Powercord. Please uninstall one of them.");
|
Utils.alert("Not Supported", "LightcordBD does not work with Powercord. Please uninstall one of them.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -54,15 +54,15 @@ export default class Utils {
|
||||||
}
|
}
|
||||||
|
|
||||||
static log(moduleName, message) {
|
static log(moduleName, message) {
|
||||||
console.log(`%c[BandagedBD]%c [${moduleName}]%c ${message}`, "color: #3a71c1; font-weight: 700;", "color: #3a71c1;", "");
|
console.log(`%c[LightcordBD]%c [${moduleName}]%c ${message}`, "color: #3a71c1; font-weight: 700;", "color: #3a71c1;", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
static warn(moduleName, message) {
|
static warn(moduleName, message) {
|
||||||
console.warn(`%c[BandagedBD]%c [${moduleName}]%c ${message}`, "color: #E8A400; font-weight: 700;", "color: #E8A400;", "");
|
console.warn(`%c[LightcordBD]%c [${moduleName}]%c ${message}`, "color: #E8A400; font-weight: 700;", "color: #E8A400;", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
static err(moduleName, message, error) {
|
static err(moduleName, message, error) {
|
||||||
console.log(`%c[BandagedBD]%c [${moduleName}]%c ${message}`, "color: red; font-weight: 700;", "color: red;", "");
|
console.log(`%c[LightcordBD]%c [${moduleName}]%c ${message}`, "color: red; font-weight: 700;", "color: red;", "");
|
||||||
if (error) {
|
if (error) {
|
||||||
console.groupCollapsed("%cError: " + error.message, "color: red;");
|
console.groupCollapsed("%cError: " + error.message, "color: red;");
|
||||||
console.error(error.stack);
|
console.error(error.stack);
|
||||||
|
|
Loading…
Reference in New Issue