This is called when the authentication flow succeeds.
account is a reference to bot.account (see account)bot.on('authSuccess', (account) => {
console.log('bot authenticated successfully!');
console.log('account:', account);
});
This is called when the authentication flow succeeds.
account is a reference to bot.account (see account)bot.on('authSuccess', (account) => {
console.log('bot authenticated successfully!');
console.log('account:', account);
});