As far as I can tell from the code, there is currently no way to initialize the ChatManager (and start the ChatPoller) when running in a headless instance.
I have two questions/suggestions regarding this:
I have two questions/suggestions regarding this:
- should KolMafia main automatically start the ChatManager when a chatbotScript is set?
- should the SetPreferencesCommand have special handling to do this once a chatbotScript is set during runtime (a little bit similar as handling customCombatScript for example)?
- if so, should the ChatManager be automatically disposed when the preference is unset? This might break an open chat frame or relay browser chat pane.