👾 Telegram-bot: https://t.me/campgamesbot
- select games by filters
/admin
-> buttons menu:- parsing departments structure into json format
- statistics can be requested any time and regularly send every morning,
- push notification to all users in db,
- set ads under schedule
- Commands:
- Public:
/id
return current chat id/time
return current server time
- Public:
python --version >>> Python 3.8.5
linux version >>> Ubuntu 20.0
Telegram API wrapper used: python-telegram-bot
On a AWS Ubuntu 18.04 new machine, below installations are required:
sudo apt-get install gcc libpq-dev
sudo apt-get install python3-dev python3-pip python3-venv python3-wheel
sudo apt install git-all
pip3 install wheel
git clone --recurse-submodules https://repo.url repo
- clone repocd campgames_bot
- move to project directorycp .env.example .env
- create your .env file and insert your valuespoetry install
poetry shell
- run virtualenv shellpython3 -m bot
- run as python module from top src directory to acsess database layer
docker volume create campgames-volume
docker compose up --build