Log commands

This commit is contained in:
supositware 2022-06-16 13:29:23 +02:00
parent 41ee5a74a6
commit c7922c31b0

View file

@ -6,6 +6,8 @@ module.exports = {
const command = client.commands.get(interaction.commandName); 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; if (!command) return;
try { try {