From ac01ed4371ff78d25047235831f6b2cab2e8aa9f Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sat, 11 Mar 2023 17:09:13 -0700 Subject: [PATCH] A S Y N C --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0032935..00e0c68 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ const resetSession = async (id) => { return true; } -client.on("ready", () => { +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.`)