log on login

This commit is contained in:
MaxRobinsonTheGreat 2024-11-05 16:49:42 -06:00
parent 0a21561dcb
commit d515a80c7f

View file

@ -35,6 +35,11 @@ export class Agent {
save_data = this.history.load();
}
this.bot.on('login', () => {
console.log('Logged in!');
process.exit(0);
});
this.bot.once('spawn', async () => {
addViewer(this.bot, count_id);