mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-04-21 21:52:07 +02:00
Update agent.js
This commit is contained in:
parent
1171bad1e4
commit
e92ff0f933
1 changed files with 2 additions and 0 deletions
|
@ -139,6 +139,8 @@ export class Agent {
|
||||||
console.error('Error handling message:', error);
|
console.error('Error handling message:', error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.respondFunc = respondFunc
|
||||||
|
|
||||||
this.bot.on('whisper', respondFunc);
|
this.bot.on('whisper', respondFunc);
|
||||||
if (settings.profiles.length === 1)
|
if (settings.profiles.length === 1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue