The errorevent is triggered everytime there's a error-type message from the server.
error
bot.on('error', (err, raw = null) => { // Your code here. });
err(string) β Error message.
err
raw(string) β Raw message from the server.
raw
Last updated 1 year ago