Makes more sense for startup time to be at the end of startup

This commit is contained in:
Christopher Cookman 2023-03-11 19:09:01 -07:00
parent 4bf6255434
commit 758c58734e
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -36,8 +36,6 @@ const resetSession = async (id) => {
client.on("ready", async () => {
console.log(`${colors.cyan("[INFO]")} Logged in as ${colors.green(client.user.tag)}`)
// Log startup time in seconds
console.log(`${colors.cyan("[INFO]")} Startup took ${colors.green((Date.now() - initTime) / 1000)} seconds.`)
// Load Commands
console.log(`${colors.cyan("[INFO]")} Loading Commands...`)
const commands = require('./commands.json');
@ -79,6 +77,8 @@ client.on("ready", async () => {
if (!m) console.log(`${colors.cyan("[INFO]")} No unauthorized guilds to leave.`);
})();
// Log startup time in seconds
console.log(`${colors.cyan("[INFO]")} Startup took ${colors.green((Date.now() - initTime) / 1000)} seconds.`)
});
client.on('interactionCreate', async (interaction) => {