feat(auth): support interactive telegram in-chat login code submission
This commit is contained in:
@@ -51,11 +51,12 @@ async def main():
|
||||
ai_processor.process_post = process_and_notify
|
||||
|
||||
collector = CollectorService(repo=repo, ai_processor=ai_processor)
|
||||
admin_bot.set_collector(collector)
|
||||
publisher = PublisherService(repo=repo)
|
||||
|
||||
# 4. Start all services
|
||||
await admin_bot.start()
|
||||
await collector.start()
|
||||
await collector.start(notify_fn=admin_bot.notify_admins)
|
||||
await publisher.start()
|
||||
|
||||
logger.info("All Copykar services are active and running.")
|
||||
|
||||
Reference in New Issue
Block a user