Last updated 6 days ago
The connectedevent is triggered once a successful connection is made. After this event, is safe to join a channel.
connected
bot.on('connected', () => { // Write your code once it is succefully connected. });