Added ability to import accounts
This commit is contained in:
@ -43,4 +43,7 @@ def create_bot(token: str, engine: mariadb.Connection) -> telebot.TeleBot:
|
||||
bot.register_message_handler(
|
||||
functools.partial(handlers.export, bot, engine), commands=["export"]
|
||||
)
|
||||
bot.register_message_handler(
|
||||
functools.partial(handlers.import_accounts, bot, engine), commands=["import"]
|
||||
)
|
||||
return bot
|
||||
|
Reference in New Issue
Block a user