I'm currently developing a bot and I want to implement a feature where every time a command is used, it logs the action in the console. Here's the code snippet I've been working on:
console.log(message.author ++ ,`used the command 'come'`);
(the command is come) Currently, when this code runs, it logs the user's id. However, I want it to display the username (user#6969) instead.