mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Add extra debug logging
This commit is contained in:
parent
2a08e70087
commit
dbc083f6a9
1 changed files with 3 additions and 1 deletions
|
@ -103,11 +103,13 @@ connect().then(async () => {
|
|||
getAllUsers: false,
|
||||
restMode: true,
|
||||
});
|
||||
client.setMaxListeners(100);
|
||||
client.setMaxListeners(200);
|
||||
|
||||
client.on("debug", message => {
|
||||
if (message.includes(" 429 ")) {
|
||||
logger.info(`[429] ${message}`);
|
||||
} else {
|
||||
logger.info(`[ERIS DEBUG] ${message}`);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue