This commit is contained in:
2025-06-08 20:55:08 +09:00
parent f7e0d17829
commit 7a75f79413
139 changed files with 10619 additions and 2340 deletions

View File

@@ -0,0 +1,6 @@
from aiogram.dispatcher.middlewares import BaseMiddleware
import logging
class LoggingMiddleware(BaseMiddleware):
async def on_process_message(self, message, data):
logging.info(f"Received message from {message.from_user.id}: {message.text}")