This commit is contained in:
Mirco Wittrien 2021-08-11 17:33:29 +02:00
parent 3566a96173
commit 602567a8aa
57 changed files with 57 additions and 57 deletions

View File

@ -8034,7 +8034,7 @@ module.exports = (_ => {
changeLogs = BDFDB.DataUtils.load(BDFDB, "changeLogs");
BDFDB.PluginUtils.checkChangeLog(BDFDB);
if (window.Lightcord || window.LightCord) BDFDB.ModalUtils.open(BDFDB, {
if (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) BDFDB.ModalUtils.open(BDFDB, {
header: "Attention!",
subHeader: "Modified Client detected",
text: "We detected that you are using LightCord. Unlike other client modificaton (BetterDiscord, PowerCord), LightCord is a completely modified client, which is no longer maintained by Discord but instead by a 3rd party. This will put your account at risk, not only because the 3rd party might use your account credentials as they like, you are also breaking a higher instance of Discord's ToS by using a 3rd party client instead of using a simple client mod which injects itself into the original client app. Many Plugins won't flawlessly run on LightCord. We do not support LightCord and as such, we do not provide help or support. You should switch to another modification as soon as possible.",

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -30,7 +30,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -28,7 +28,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -33,7 +33,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -22,7 +22,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -31,7 +31,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}

View File

@ -27,7 +27,7 @@ module.exports = (_ => {
}
};
return (window.Lightcord || window.LightCord) ? class {
return (window.Lightcord && !Node.prototype.isPrototypeOf(window.Lightcord) || window.LightCord && !Node.prototype.isPrototypeOf(window.LightCord)) ? class {
getName () {return config.info.name;}
getAuthor () {return config.info.author;}
getVersion () {return config.info.version;}