GithubHelp home page GithubHelp logo

markov-bot's Introduction

A


Running locally

1. Download

$ git clone https://github.com/alebymars/markov-bot.git
$ 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 :)

markov-bot's People

Contributors

alebymars avatar anishsujanani avatar felipemfp avatar joaorafaelm avatar julianolf avatar kazwolfe avatar luizdepra avatar mvarrieur avatar pyup-bot avatar solaxun avatar voipbit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.