updated command logging system to not spam my terminal
This commit is contained in:
parent
92c9033d1e
commit
d2f9b3efb2
2 changed files with 12 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue