Skip to content
A Telegram bot written in Python to play the game BlackJack alone or with your friends
Branch: master
Clone or download
Latest commit 1bf5090 Jun 10, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
database FIX: Fix for the fix - messed up indentation Mar 8, 2018
game FIX: Remove keyboard when game has ended Mar 12, 2018
lang TASK: Add some docstrings Nov 6, 2017
logs TASK: Add logs directory for saving logs Feb 22, 2018
.gitignore FIX: I should use the correct file name Mar 8, 2018
.travis.yml TASK: Add Python 3.6 to travis builds Mar 12, 2018 Create Nov 5, 2017
LICENSE Initial commit Feb 28, 2017 Update Readme Nov 6, 2017 TASK: Implement sample config Jun 10, 2019 TASK: Implement game handler as singleton Feb 20, 2018 TASK: Use raw string for regex Jun 10, 2019 TASK: Add own message filters Mar 22, 2018 TASK: Add type defs Nov 1, 2017 TASK: Add logging to userstate Feb 23, 2018

Build Status Code Health


This is the code for my Telegram Bot with which you can play the game Black Jack. You can find it here:

The main file, which needs to be executed is ''. You need to put your API-Token in the right place in the main file.

Other Software

The bot uses the python-telegram-bot framework to make Telegram API calls. You can install it like that:

pip install python-telegram-bot


The bot uses a SQLite database. The database file is in the "database" directory. It is called 'users.db'. The database gets auto-generated, if it doesn't exist. Make sure the program has write access to the database directory.

You can’t perform that action at this time.