I add command /analytics and I improve code
It's version 0.2.3
This commit is contained in:
@@ -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):
|
||||
"""Отправка расписания"""
|
||||
|
||||
Reference in New Issue
Block a user