Skip to content

Booking Bot is a Telegram bot built to streamline and automate the process of booking a washing machine in a coliving space

Notifications You must be signed in to change notification settings

Ankononenko/Booking_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

Booking Bot for Coliving Spaces 🏘️

Booking bot demo

📖 Overview

Booking Bot is a Telegram bot built to streamline and automate the process of booking a washing machine in a coliving space. It is built using the python-telegram-bot v13.4.1 library and uses SQLite3 as its database to store booking information.

✨ Features

  • Book a time slot for using the washing machine.
  • Cancel a previously booked time slot.
  • View all booked time slots.
  • Receive reminders 15 minutes prior to the start of a booking and immediately after the end of the booking.
  • Automatic 30-minute cooldown period between bookings.
  • Ability to view the bookings that other people have made.

🛠️ Installation

Prerequisites:

  • Python 3.6 or higher
  • SQLite3
  • python-telegram-bot v13.4.1

Steps:

  1. Clone the repository:
git clone https://github.com/finchren/booking_bot.git
  1. Navigate to the repository:
cd Booking_bot/src
  1. Install the dependencies:
TODO: Make requirements.txt with this list:
pip install python-telegram-bot==13.4.1
pip install requests
pip install python-dateutil
pip install psycopg2
  1. Add your Telegram Bot Token that you've recived from the BotFather to the following lines of the book_the_time_slot.py and remivder_service.py:
def main() -> None:
    updater = Updater('KEY', use_context=True)
bot = Bot(token='KEY')
  1. Start the bot and the additional services:
python3 book_the_time_slot.py
python3 remivder_service.py
python3 clear_db.py
  1. Open Telegram, search for your bot's username and start a conversation. Follow the instructions provided by the bot to book, cancel or view bookings.

🤝 Contact

If you have any questions or feedback, feel free to reach out https://t.me/finchren

About

Booking Bot is a Telegram bot built to streamline and automate the process of booking a washing machine in a coliving space

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages