chat on spawn, not login

This commit is contained in:
MaxRobinsonTheGreat 2024-04-02 19:19:30 -05:00
parent 2a3cc01c1c
commit 8d37dc12d2

View file

@ -22,8 +22,8 @@ export class Agent {
initModes(this);
this.bot.on('login', async () => {
console.log(`${this.name} logged in.`);
this.bot.once('spawn', async () => {
console.log(`${this.name} spawned.`);
this.coder.clear();
const ignore_messages = [