I add command /analytics and I improve code

It's version 0.2.3
This commit is contained in:
Niken
2025-10-05 23:16:19 +03:00
parent 3ef1327b67
commit cce8c7dc70
7 changed files with 156 additions and 86 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
from aiogram import types, Dispatcher, Bot
from aiogram import types, Dispatcher
from aiogram.filters import Command
from models.state import BotState
from services.schedule_service import ScheduleService
@@ -6,7 +6,7 @@ from utils.antispam import is_chat_spam
from storage.message_storage import save_message
def register_handlers(dp: Dispatcher, state: BotState, bot: Bot):
def register_handlers(dp: Dispatcher, state: BotState):
@dp.message(Command("rasp"))
async def send_schedule(message: types.Message):
"""Отправка расписания"""