diff --git a/handlers/users/sponsor.py b/handlers/users/sponsor.py deleted file mode 100644 index 17d2d687..00000000 --- a/handlers/users/sponsor.py +++ /dev/null @@ -1,17 +0,0 @@ -from aiogram.types import CallbackQuery - -from keyboards.inline.sponsor_inline import sponsor_keyboard -from loader import dp, _ - - -@dp.callback_query_handler(text="sponsors") -async def show_sponsors(call: CallbackQuery) -> None: - await call.message.edit_text( - text=_( - "Наш проект работает на Open Source и мы будем рады," - "если вы нам поможете развивать проект.\n\n" - "С помощью кнопки 💰 Донат" - " вы можете отправить своё пожертвование" - ), - reply_markup=await sponsor_keyboard(), - ) diff --git a/keyboards/inline/sponsor_inline.py b/keyboards/inline/sponsor_inline.py deleted file mode 100644 index 5c39ddc3..00000000 --- a/keyboards/inline/sponsor_inline.py +++ /dev/null @@ -1,25 +0,0 @@ -from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton - -from loader import _ - - -async def sponsors_keyboard() -> InlineKeyboardMarkup: - markup = InlineKeyboardMarkup() - # sponsor = InlineKeyboardButton(_("🕴️ Спонсорство"), callback_data="sponsors") - back_to_menu = InlineKeyboardButton( - text=_("⏪️ Вернуться в меню"), callback_data="start_menu" - ) - # markup.add(sponsor) - markup.add(back_to_menu) - return markup - - -async def sponsor_keyboard() -> InlineKeyboardMarkup: - markup = InlineKeyboardMarkup() - # donate = InlineKeyboardButton(text=_("💰 Донат"), url="https://www.donationalerts.com/r/quegroup") - back = InlineKeyboardButton( - text=_("⏪️ Вернуться в меню"), callback_data="statistics" - ) - # markup.add(donate) - markup.add(back) - return markup