Template
mirror of
https://github.com/djimboy/djimbo_template_aio3.git
synced 2026-08-30 00:47:44 +00:00
Update
This commit is contained in:
@@ -3,14 +3,14 @@ from aiogram import Router, Bot
|
||||
from aiogram.types import Message
|
||||
|
||||
from tgbot.keyboards.reply_main import menu_frep
|
||||
from tgbot.utils.misc.bot_models import FSM, RS
|
||||
from tgbot.utils.misc.bot_models import FSM, AS
|
||||
|
||||
router = Router()
|
||||
|
||||
|
||||
# Открытие главного меню
|
||||
@router.message(text_startswith=["⬅ Главное меню", "/start"])
|
||||
async def main_start(message: Message, bot: Bot, state: FSM, rSession: RS, my_user):
|
||||
async def main_start(message: Message, bot: Bot, state: FSM, aSession: AS, my_user):
|
||||
await state.clear()
|
||||
|
||||
await message.answer("🔸 Бот готов к использованию.\n"
|
||||
|
||||
Reference in New Issue
Block a user