A Markov chain based Discord chat bot.
It is recommended to use cargo. To install:
cargo install --git https://github.com/miedzinski/markov.git
Check if it's successfully installed:
markov --help
To run as a Discord bot you need an API token. To obtain one go to developer portal. Then run:
markov --token <YOUR TOKEN HERE>
By default, the bot stores entire Markov chain in the memory and doesn't persist
it to the disk. This can be mitigated by running with SQLite backend by
passing --sqlite-path /path/to/sqlite.db
option. If it's the first time
running, run with --setup-db
to create necessary tables.
GNU GPLv3. See LICENSE.