I add command /admin /vadmin /iadmin /hello I create database and I improve code

It's version 0.3.0
This commit is contained in:
Niken
2025-10-11 23:02:30 +03:00
parent cce8c7dc70
commit 772d3d5b83
17 changed files with 349 additions and 18 deletions
+2 -1
View File
@@ -2,12 +2,13 @@ from aiogram import types, Dispatcher
from aiogram.filters import Command
from models.state import BotState
from services.schedule_service import ScheduleService
from utils.antispam import is_chat_spam
from utils.antispam import is_chat_spam, saving
from storage.message_storage import save_message
def register_handlers(dp: Dispatcher, state: BotState):
@dp.message(Command("rasp"))
@saving
async def send_schedule(message: types.Message):
"""Отправка расписания"""
if is_chat_spam(message.chat.id, state):