show the user id too

This commit is contained in:
supositware 2022-06-20 08:34:24 +02:00
parent 5d5d6a0f47
commit d118b3cd1f

View file

@ -6,7 +6,7 @@ export default {
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`); console.log(`\x1b[33m${interaction.user.tag} (${interaction.user.id})\x1b[0m launched command \x1b[33m${interaction.commandName}\x1b[0m`);
if (!command) return; if (!command) return;