Markov Bot Save

a bot that writes like you do

Project README

markov bot

a bot that writes like you do




Add t.me/botijao_bot to a telegram group chat and it will generate pseudo random sentences.


Running locally

1. Download

$ git clone https://github.com/joaorafaelm/markov-bot
$ cd markov-bot

2. Requirements

$ pipenv install --dev

3. Env vars

In order to run the bot, you need to define the env var TELEGRAM_TOKEN (to generate a bot token follow these instructions):

$ cp local.env .env
$ vim .env

4. Run tests

$ make test

4. Run the bot

$ make run

5. Permissions

Disable the bot privacy settings (it means that the bot will receive all messages, not just the ones starting with "/"). Run /sentence (or the command you defined using the env var SENTENCE_COMMAND) to generate random sentences. If you wish to delete the model, run /remove.

Have fun :)

Open Source Agenda is not affiliated with "Markov Bot" Project. README Source: joaorafaelm/markov-bot
Stars
27
Open Issues
6
Last Commit
1 year ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating