Markov Chain - maidnaut/clang GitHub Wiki
Markov Chain
Plugin: /plugins/markov.py
What's a Markov Chain? It's a system that reads messages said in chat, chunks them up and anonymizes them, and strings them together to form random sentences on direct replies to the bot. That's the most basic technical breakdown I can give because honestly it's kind of magic to me and I don't fully understand how it works. Most of the time it replies with nonsense jibberish, but sometimes it can say something special. :)
The Markov Chain is always active by default, and currently the only way to disable it is to remove the plugin from the plugins folder. If the bot's database isn't big enough to be able to reply, it'll say so.
To make sure Clang doesn't read from private categories and channels, make sure you set up your configs properly in the moderation suite. Make sure you set mod_category to make it ignore private convos with staff.
To get a random response, @ ping the bot directly. Everyone is opt in by default, use !markof off to opt out.
Command | Arguments | Permissions | Description |
---|---|---|---|
!markov | on:off | Everyone | Opts you in or out of markov chain logging. |