def update_bot(bot_api): import octobot.updater.updater_factory as updater_factory bot_api.run_in_async_executor(updater_factory.create_updater().update())
def get_updater(): return updater_factory.create_updater()