feat: update support keyboard with new support URL and replace return to menu button

This commit is contained in:
2026-04-22 18:35:30 +07:00
parent e3e204d7af
commit 76fd6eb9a8
2 changed files with 10 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ from aiogram.filters import Command
from aiogram.fsm.context import FSMContext
from aiogram.types import CallbackQuery, Message
from keyboards.client import return_to_menu
from keyboards.client import support_url_kb
from texts import SUPPORT_INIT
router = Router()
@@ -16,7 +16,7 @@ logger = logging.getLogger(__name__)
async def support_init(cb: CallbackQuery, state: FSMContext):
await state.clear()
await cb.message.edit_text(text=SUPPORT_INIT, reply_markup=return_to_menu)
await cb.message.edit_text(text=SUPPORT_INIT, reply_markup=support_url_kb)
@router.message(Command("support"))
@@ -24,4 +24,4 @@ async def support_init_cmd(msg: Message, state: FSMContext):
await state.clear()
await msg.delete()
await msg.answer(text=SUPPORT_INIT, reply_markup=return_to_menu)
await msg.answer(text=SUPPORT_INIT, reply_markup=support_url_kb)