tgs / bot /handlers /support.py
AZILS's picture
Upload 119 files
054900e verified
raw
history blame contribute delete
483 Bytes
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())