mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Log commands
This commit is contained in:
@@ -53,6 +53,8 @@ client.on('disconnect', event => {
|
||||
process.exit(0);
|
||||
});
|
||||
|
||||
client.on('commandRun', command => console.log(`[COMMAND] Ran command ${command.groupID}:${command.memberName}.`));
|
||||
|
||||
client.on('error', err => console.error('[ERROR]', err));
|
||||
|
||||
client.on('warn', err => console.warn('[WARNING]', err));
|
||||
|
||||
Reference in New Issue
Block a user