This is a Telegram bot for booking School Objects.
- Python 3.6+ version
- bash shell
- HTTP Token ID to paste in config/bot.ini
- Paste your BOT token in config/bot.ini (message @BotFather to get token)
- Paste your admin id in config/bot.ini
cd prototype/./release.sh
/startto start bot/secret_adminto administrate users & bookings (view logic atapp/handlers/settings.py)/change_loginto.. change your login! 🥸/cancelto get back to Main Menu
- It can book register bot users with their login & telegram id.
- Bot stores Booking, User and Objects data in SQLite3 Database.
- Bot has regex to prohibit user from incorrect data. Almost everywhere 🙂
- You can view Database structure in prototype/database/ folder.
- Feel free to edit init_database.sh to adapt this bot to your objects.
- Currently bot can not show start_time & end_time of your bookings
- There is no reminder for user about his booking. But it should be easy to implement.
- Bot currently can't check if something was booked 🙁 oh well
- To book something you have to write HOURS.
- Good: 16-18, 19-20
- Bad: 16-43, 19-29
- English translation. I am pretty lazy for this.
If you REALLY need translation: send me an email at
workerco@student.21-school.ru
- curtrika@student.21-school.ru: Nikita, author of database-related code
- arrowwhi@student.21-school.ru: Ivan, author of telegram main bot-logic
- kyneshal@student.21-school.ru: Ivan, support & Web UI author. He also made cool presentation about our project! Check it at
presentationdir - workerco@student.21-school.ru: Artemii, author of this repository & telegram-db integrator. I also made some cosmetical improvements & added secret_admin logic
