diff --git a/events/interactionCreate.js b/events/interactionCreate.js index 787f11e..f4ae3ab 100644 --- a/events/interactionCreate.js +++ b/events/interactionCreate.js @@ -6,6 +6,8 @@ module.exports = { const command = client.commands.get(interaction.commandName); + console.log(`\x1b[33m${interaction.user.tag}\x1b[0m launched command \x1b[33m${interaction.commandName}\x1b[0m`); + if (!command) return; try {