feat(auth): support interactive telegram in-chat login code submission

This commit is contained in:
mamad
2026-08-27 20:46:36 +03:30
parent 06e1d54f8f
commit 5819125010
3 changed files with 118 additions and 10 deletions
+2 -1
View File
@@ -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.")