From 758c58734ef1eb828d23384d08d4bb505fe38fee Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sat, 11 Mar 2023 19:09:01 -0700 Subject: [PATCH] Makes more sense for startup time to be at the end of startup --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index ea43759..e5e82a1 100644 --- a/index.js +++ b/index.js @@ -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) => {