Skip to content

miedzinski/markov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markov

A Markov chain based Discord chat bot.

Building

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

Usage

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>

Persistent storage

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.

License

GNU GPLv3. See LICENSE.

About

A Markov chain based Discord chat bot.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages