add off notification
This commit is contained in:
@@ -9,6 +9,7 @@ from aiogram.filters import Command
|
||||
from aiogram.types import Message
|
||||
|
||||
from additional_functions import (
|
||||
off_notification,
|
||||
on_notification,
|
||||
set_group,
|
||||
timetable_day,
|
||||
@@ -60,6 +61,11 @@ async def command_on_notification(msg: Message):
|
||||
)
|
||||
|
||||
|
||||
@dp.message(Command("off_notification"))
|
||||
async def command_off_notification(msg: Message):
|
||||
await off_notification(msg)
|
||||
|
||||
|
||||
@dp.message(F.text == "сегодня")
|
||||
@dp.message(Command("today"))
|
||||
async def command_today(msg: Message):
|
||||
|
||||
Reference in New Issue
Block a user