import logging from modules.interfaces.interfaceDbAppObjects import getRootInterface logger = logging.getLogger(__name__) async def start() -> None: """ Start feature triggers and background managers """ rootInterface = getRootInterface() eventUser = rootInterface.getUserByUsername("event") # Feature SyncDelta from modules.features.syncDelta import mainSyncDelta mainSyncDelta.startSyncManager(eventUser) # Feature ChatBot from modules.features.chatBot.mainChatBot import start as startChatBot await startChatBot() async def stop() -> None: """ Stop feature triggers and background managers """ # Feature ChatBot from modules.features.chatBot.mainChatBot import stop as stopChatBot await stopChatBot()