Added help command
This commit is contained in:
@ -35,4 +35,7 @@ def create_bot(token: str, engine: mariadb.Connection) -> telebot.TeleBot:
|
||||
functools.partial(handlers.delete_account, bot, engine),
|
||||
commands=["delete_account"],
|
||||
)
|
||||
bot.register_message_handler(
|
||||
functools.partial(handlers.help, bot), commands=["help", "start"]
|
||||
)
|
||||
return bot
|
||||
|
Reference in New Issue
Block a user