Fix bug
This commit is contained in:
parent
4376491e42
commit
67ab708dd0
4
tgbot.py
4
tgbot.py
@ -20,6 +20,7 @@ class TelegramBot:
|
|||||||
# Set up the command handlers
|
# Set up the command handlers
|
||||||
@self.bot.message_handler(commands=["start"])
|
@self.bot.message_handler(commands=["start"])
|
||||||
def send_welcome(message):
|
def send_welcome(message):
|
||||||
|
self.send_welcome(message)
|
||||||
|
|
||||||
@self.bot.message_handler(commands=["book"])
|
@self.bot.message_handler(commands=["book"])
|
||||||
def make_booking(message):
|
def make_booking(message):
|
||||||
@ -133,7 +134,8 @@ class TelegramBot:
|
|||||||
|
|
||||||
def send_welcome(self, message):
|
def send_welcome(self, message):
|
||||||
self.bot.reply_to(
|
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)
|
self.handle_login(message)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user