Get with the times, Old Man

This commit is contained in:
MeowcaTheoRange 2023-09-13 11:07:33 -05:00
parent 88c68ce0d1
commit d72cd85229

View file

@ -1,11 +1,5 @@
import { MongoClient } from "mongodb"; import { MongoClient } from "mongodb";
if (process.env.ENCRYPT_CODE == null) {
console.log(
"You need to write an encryption code to run a TrollCall server!"
);
process.exit();
}
if (process.env.MONGODB_DATABASE == null) { if (process.env.MONGODB_DATABASE == null) {
console.log("You need a MongoDB Database URI to run a TrollCall server!"); console.log("You need a MongoDB Database URI to run a TrollCall server!");
process.exit(); process.exit();