This commit is contained in:
Djimbo
2023-01-19 06:16:06 +03:00
parent 63aa59b3bb
commit c82868ff7b
5 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ from aiogram.types import Message
from tgbot.keyboards.reply_main import menu_frep
from tgbot.utils.const_functions import ded
from tgbot.utils.misc.bot_models import FSM, AS
from tgbot.utils.misc.bot_models import FSM, RS
router = Router()
@@ -13,7 +13,7 @@ router = Router()
# Открытие главного меню
@router.message(Text(text=['🔙 Главное меню']))
@router.message(Command(commands=['start']))
async def main_start(message: Message, bot: Bot, state: FSM, rSession: AS, my_user):
async def main_start(message: Message, bot: Bot, state: FSM, rSession: RS, my_user):
await state.clear()
await message.answer(