diff --git a/handlers/slashCommands.js b/handlers/slashCommands.js index 190c0996..8285e938 100644 --- a/handlers/slashCommands.js +++ b/handlers/slashCommands.js @@ -148,7 +148,7 @@ module.exports = (client) => { client.slashCommandsData = slashCommandsData; console.log(`${slashCommandsData.size} slashCommands ${`(With ${slashCommandsData.map(d => d.options).flat().length} Subcommands)`.green} Loaded for all: ${`All possible Guilds`.underline}`.brightGreen); console.log(`Because u are Using Global Settings, it can take up to 1 hour until the Commands are changed!`.bold.yellow) - }).catch((e)=>{}); + }).catch(console.error); } else { client.guilds.cache.map(g => g).forEach(async (guild) => { try{ @@ -157,7 +157,7 @@ module.exports = (client) => { .then(slashCommandsData => { client.slashCommandsData = slashCommandsData; console.log(`${slashCommandsData.size} slashCommands ${`(With ${slashCommandsData.map(d => d.options).flat().length} Subcommands)`.green} Loaded for: ${`${guild.name}`.underline}`.brightGreen); - }).catch((e)=>{}); + }).catch(console.error); }catch (e){ console.log(String(e).grey) }