This Telegram bot was developed for the city of Innopolis , especially for the HR department. Bot has a few number of dependencies and can work on cheap VPS.
You need Python 3.x.
pip install UnQLite
pip install python-telegram-bot --upgrade
- Date and time picker
- Storing interview data in a local database
- Interview notifications to HR private group
- Basic anti-flood protection
- Display upcoming interviews for admins
Clone this repo to your local machine.
git clone https://github.com/Deniskore/Innopolis_hr_bot.git
- Invite @RawDataBot to your private Telegram channel to get the chat id
"message":
{
"chat":
{
"id": -210987654, <-----
"title": ...,
"type": "group",
}
}
- Open settings.json and modify 'botToken'
- Change 'privateChannelId' to id which you got from @RawDataBot
Navigate to bot directory and create file run_bot.sh (with +x permission) with following contents
screen -dm bash -c 'python3.6 bot.py'
Then execute it!
./run_bot.sh