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