The most advanced telegram games named Gamee, hacker on the Github.
First you should change directory to GameeHacker
gameeHacker.py [--argument] [value]
Args Description Default
-h, --help Throwback this help manaul False
-u, --url Url of your game in gamee None
-t, --time Play time Random
-s, --score Your score None
--get-rank Rank of you in current game False
--get-record Your record in current game False
--get-summery All of your data in gamee False
--get-name Name of game False
First you should get Telegram API token from botFather.
cd telegramBot
mv .env-sample .env
After running above commands you should copy your Telegram token in .env
file and put it in TELEGRAM_TOKEN
.
after that create a desired random string for SECRET_KEY
.
Create a virtual-environment and install dependencies.
pip install -r requirements.txt
export FLASK_APP='models.py'
cd telegramBot
flask db init && flask db migrate && flask db upgrade
python3 telegram_bot.py
Run below command and enter your telegram numeric id
python3 telegram_bot.py createsuperuser
superuser can see some statistics such number of users and Games.