From 70becfc32ec98084067686bd456971a4cb76082c Mon Sep 17 00:00:00 2001 From: Igor Tolmachov Date: Sat, 3 Dec 2022 02:03:05 +0900 Subject: Beta 2.0 --- handlers/msg.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 handlers/msg.py (limited to 'handlers/msg.py') diff --git a/handlers/msg.py b/handlers/msg.py deleted file mode 100644 index dca295f..0000000 --- a/handlers/msg.py +++ /dev/null @@ -1,18 +0,0 @@ -from aiogram import types as t - -from shared.instances import dp -from utils import filters as f - - -async def сосалка(msg: t.Message): - text = msg.text or msg.caption - if text.startswith("/"): - return False - with open(f"data/{msg.chat.id}", "a+") as file: - file.write(text.lower().replace("§", "") + "§") - return False - - -@dp.message_handler(f.message.has_text, сосалка, content_types=[t.ContentType.ANY]) -async def ХУЙ(): - pass -- cgit v1.2.3