File size: 483 Bytes
054900e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from aiogram import Router, types
from aiogram.filters import Command
from aiogram.utils.i18n import gettext as _
from bot.keyboards.inline.contacts import contacts_keyboard
router = Router(name="support")
@router.message(Command(commands=["supports", "support", "contacts", "contact"]))
async def support_handler(message: types.Message) -> None:
"""Return a button with a link to the project."""
await message.answer(_("support text"), reply_markup=contacts_keyboard())
|