Telegram bot collects data about users: name, city, phone. Then forwards it to group chat. Data is saved in google sheets and postgresql. App monitoring provided by Sentry.
shaqyru - word from Kazakh шақыру ("invite").
- Clone repository
git clone https://github.com/zshanabek/shaqyru
cd shaqyru
- Install dependencies via
pipenv
package management system
pipenv install
- Create the environment variables file named
.env
. In it write down token, Postgresql credentials, Google Sheet ID and Sentry app ID.
ENV=DEVELOPMENT
PG_HOST=localhost
PG_DATABASE=<DATABASE>
PG_USER=<USER>
PG_PASSWORD=<PASSWORD>
BOT_TOKEN=<TOKEN>
GROUP_CHAT_ID=<CHAT_ID>
SHEET_ID=<SHEET_ID>
- Run bot
python src/bot.py