bot.on('sessionExpired', () => {
console.log('bot\'s session expired, you must log in again...');
});
This can sometimes be prevented by the RENEW_SESSIONS intent being enabled, which will automatically renew the bot's session when it expires. Occasionally, the game just decides not to refesh the session, and hence this event is emitted.
bot.on('sessionExpired', () => {
console.log('bot\'s session expired, you must log in again...');
});
This can sometimes be prevented by the RENEW_SESSIONS intent being enabled, which will automatically renew the bot's session when it expires. Occasionally, the game just decides not to refesh the session, and hence this event is emitted.