bittiez / ResponseBot

A Spigot Plugin to respond to players questions in chat
MIT License
2 stars 2 forks source link

Add debug option for logging #9

Closed mb243 closed 7 years ago

mb243 commented 7 years ago

With replyToPlayer: true, there's no way to log the responses the bot is sending to the players or how accurate it is.

Could you please add a debugging configuration option that would log detected player inputs and the bot's responses, either to the main server log (preferable) or a separate log file?

mb243 commented 7 years ago

Just to clarify, this would ideally only log matched/replied to phrases and not every phrase. The purpose of this would be to log what the bot is saying to people in response to their queries.

bittiez commented 7 years ago

I do plan to implement this, as some would find it useful, however just note that API.ai has a Training tab that saves all messages and allows you to approve/disapprove them to train your bot better

bittiez commented 7 years ago

Added with 459c17ca6fb338e432b8d8016369f90a5b3ffd6f