feat(spamblock): add SpamBot spamblock check and language support

This commit is contained in:
2026-08-02 02:14:19 +05:00
parent c96a335352
commit 7e3b31f32a
4 changed files with 69 additions and 15 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ logger = logging.getLogger(__name__)
async def main():
logger.debug("Инициализация Worker")
async with Worker() as worker:
async with Worker(lang_code="ru") as worker: # Russian for SpamBot check
logger.debug("Worker успешно инициализирован")
await worker.check_all()
logger.debug("Worker завершил работу")