Git Product home page Git Product logo

english-pybar-bot's Introduction

English PyBar Bot

Build Status

What is English PyBar Bot?

The English PyBar Bot is a Telegram bot created to generate conversation topics for our English-hosted PyBares.

It has a list of questions that can be drawn randomly, and each participant of the session can check which question is being currently discussed or draw the next one.

About grupy-sanca

grupy-sanca is a Python User Group from São Carlos, Brazil.

We host meetups in English at the bar to help our members improve their English conversation skills aided by beer and good company.

How to use

To test the bot, you'll need a token for a Telegram bot.

You can create a bot via @BotFather and it'll send you the token.

Then you'll be able to run the code in this repository in your own bot.

Instructions

  • Clone the repository and enter the folder english-pybar-bot
  • Create a copy of the file local.env and rename it to .env
$ cp local.env .env
  • Edit .env to insert your Telegram bot token
TOKEN=insert_your_token_here
MOD=dev
  • Create a virtualenv to install the dependencies (we recommend pipenv) and activate it
$ pipenv install -d
$ pipenv shell
  • Install pre-commit to ensure that every commit is tested against the current code conventions.
(venv) $ pre-commit install
  • Run bot.py to start the bot
(venv) $ python bot.py

Testing

To run the tests, use:

$ (venv) pytest

Contribute

Feel free to contribute!

Be sure to write tests for new features (we also need help to improve our testing coverage).

You can get in touch with us at https://t.me/grupysanca

english-pybar-bot's People

Contributors

zsinx6 avatar julianaklulo avatar marcelomiky avatar lamenezes avatar

Watchers

James Cloos 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.