From 67ab708dd0f2a7c3f8b6cc127f42707ed7b3b50f Mon Sep 17 00:00:00 2001 From: Yigit Colakoglu Date: Tue, 10 Sep 2024 14:49:38 +0200 Subject: [PATCH] Fix bug --- tgbot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tgbot.py b/tgbot.py index 6eae305..a05ce7c 100644 --- a/tgbot.py +++ b/tgbot.py @@ -20,6 +20,7 @@ class TelegramBot: # Set up the command handlers @self.bot.message_handler(commands=["start"]) def send_welcome(message): + self.send_welcome(message) @self.bot.message_handler(commands=["book"]) def make_booking(message): @@ -133,7 +134,8 @@ class TelegramBot: def send_welcome(self, message): self.bot.reply_to( - message, "Welcome! Using this bot you can create and cancel X gym slots as well as place them on a watchlist to be booked when available." + message, + "Welcome! Using this bot you can create and cancel X gym slots as well as place them on a watchlist to be booked when available.", ) self.handle_login(message)