Skip to content

fopina/tgbot-euromillionsbot

Repository files navigation

This is a friendly Telegram bot that lets you check Euromillions results and receive alerts when new ones are announced, feel free to contact @EuromillionsBot.

Build Status Coverage Status

EuromillionsBot was a developed using TGBotPlug.

This repository is ready for openshift (as the bot is running there), so you can easily host your own:

  • Register in OpenShift

  • Install rhc, the command line tool

  • Run rhc setup to configure it

  • Talk to @BotFather to register your bot

  • And finally run these commands (replacing <YOUR_BOT_TOKEN> with the token provided by @BotFather)

    rhc app-create millionsbot python-2.7 postgresql-9.2 cron-1.4 --from-code https://github.com/fopina/tgbot-euromillionsbot/
    cd millionsbot
    rhc env-set TGTOKEN=<YOUR_BOT_TOKEN>
    rhc ssh -- 'app-root/repo/millionsbot.py --db_url="postgresql://$OPENSHIFT_POSTGRESQL_DB_HOST:$OPENSHIFT_POSTGRESQL_DB_PORT/$PGDATABASE" --create_db'
    rhc app-restart
    

Have fun!

About

Telegram bot to broadcast Euromillions results

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published