forked from Supositware/Haha-Yes
Log commands
This commit is contained in:
parent
41ee5a74a6
commit
c7922c31b0
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue