From c672085dd27501eb3f9df430feec1a7c1b534e61 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sat, 11 Mar 2023 16:54:12 -0700 Subject: [PATCH] Add more debug logs --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index b57f532..7a9b774 100644 --- a/index.js +++ b/index.js @@ -47,6 +47,7 @@ client.on("ready", () => { let start = Date.now() // For every guild for (const guild of client.guilds.cache.values()) { + console.log(`${colors.cyan("[INFO]")} Registering Commands for ${colors.green(guild.name)}...`); // Register commands await rest.put( Routes.applicationGuildCommands(client.user.id, guild.id), { @@ -54,6 +55,8 @@ client.on("ready", () => { }, ); }; + // Register global commands + console.log(`${colors.cyan("[INFO]")} Registering Global Commands...`); await rest.put( Routes.applicationCommands(client.user.id), { body: commands