This is a markov bot for Tox groupchats. It's the best ;)
More features may come along the way :)
(Any contributions are welcome)
- support for text groupchats
- support for 1-on-1 chats
- markov chain
- saving & loading Tox data file & markov chain
- leaves groupchat when there is no one else than bot
- ..and lots of other features
;)
Installation is fairly simple. This bot will work only on Linux.
Newest toxcore is required. For instructions on how to get it, please refer to its INSTALL.md.
- Install Rust
- Make with
cargo build
- Run with
./target/debug/./lee
There should be a file named markov.txt
available in working directory, containing sentences that could be used to initially feed bot, or markov.json
, which will be generated by bot, so that there would be some initial strings to work with.
markov.txt
will be used only when markov.json
is not available.
Custom formatting of file is used.
Lines starting with //
or /*
are ignored.
Lines ending with \\
are joined with next line.
Last line in a file should not be empty.
Currently supported by Lee commands are:
Command | What it does |
---|---|
.about | Send "About" message |
.id | Lee will say its ID |
.talk | Turns on talking on its own |
.stahp | Turns off talking on its own |
By default Lee talks on its own at random times, few times per hour.
Even after turning off random talk on its own, Lee will respond to highlighting
, i.e. to someone mentioning its name.
Command | What it does |
---|---|
invite | Invites to last groupchat in which someone spoke |
Licensed under GPLv3+, for details see COPYING.