Alright so here's the thing. I've been wanting to give my discord bot a bit of a personality for a while and wanted to know whether there are node.js libraries that will allow this to happen.
What I want is my bot to log a specific chat in a server, or perhaps maybe even grab a simple .txt file and analyze it, learn from it in which it will then generate its own messages and responses.
For example, let's say I make the bot read the messages that happen in general chat, the conversations between people and what their responses are, then analyze those conversations in order to create its own responses.
Something along the lines of that. Any tips?