This commit is contained in:
Christopher Cookman 2024-07-22 02:47:21 -06:00
parent b66c5550dc
commit db31f3f31f
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -1,3 +1,4 @@
console.log("Starting up...")
require("dotenv").config()
const funcs = require("./helpers.js");
const fs = require("fs");
@ -225,7 +226,7 @@ process.on('uncaughtException', (error) => {
console.error('Uncaught exception:', error);
// save full stack to file in errors/timestamp.log
fs.writeFileSync(`errors/exception-${Date.now()}.log`, error.stack);
}
});
const startTime = new Date();
client.login(process.env.DISCORD_TOKEN)