Skip to content
A Telegram bot written in Python to play the game BlackJack alone or with your friends
Python
Branch: master
Clone or download
Latest commit 1bf5090 Jun 10, 2019
Permalink
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
tests
.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
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Nov 5, 2017
LICENSE Initial commit Feb 28, 2017
README.md Update Readme Nov 6, 2017
config.sample.py TASK: Implement sample config Jun 10, 2019
gamehandler.py TASK: Implement game handler as singleton Feb 20, 2018
main.py TASK: Use raw string for regex Jun 10, 2019
own_filters.py TASK: Add own message filters Mar 22, 2018
statehandler.py TASK: Add type defs Nov 1, 2017
userstate.py TASK: Add logging to userstate Feb 23, 2018

README.md

Build Status Code Health

Python-BlackJackBot

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

The main file, which needs to be executed is 'main.py'. 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

Database

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.