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
|
@ -140,6 +140,8 @@ export class Agent {
|
|||
}
|
||||
}
|
||||
|
||||
this.respondFunc = respondFunc
|
||||
|
||||
this.bot.on('whisper', respondFunc);
|
||||
if (settings.profiles.length === 1)
|
||||
this.bot.on('chat', respondFunc);
|
||||
|
|
Loading…
Add table
Reference in a new issue