updated command logging system to not spam my terminal

This commit is contained in:
ayeuhugyu 2023-09-13 07:03:46 -07:00
parent 92c9033d1e
commit d2f9b3efb2
2 changed files with 12 additions and 9 deletions

View file

@ -112,7 +112,8 @@ client.on("messageCreate", async (message) => {
"commands.log",
message,
__filename,
`use of command: ${command} by: ${message.author.username} (${message.author})"`
`use of command: ${command} by: ${message.author.username} (${message.author})"`,
true
);
client.commands.get(command).execute(message, args, client);
}