Skip to content

Дениска-бот создан в развлекательных целях. Протестировать его Вы можете в телеграме @markovify_bot

License

Notifications You must be signed in to change notification settings

alebymars/svistun

Repository files navigation

A


Running locally

1. Download

$ git clone https://github.com/alebymars/svistun.git
$ cd markov

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 :)

About

Дениска-бот создан в развлекательных целях. Протестировать его Вы можете в телеграме @markovify_bot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages