From a9c5d8ed69be25c7a38d81ef6d737f3daee027ff Mon Sep 17 00:00:00 2001 From: Egor Date: Fri, 15 Aug 2025 04:19:40 +0300 Subject: [PATCH] Update handlers.py --- handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers.py b/handlers.py index be73b494..8514c786 100644 --- a/handlers.py +++ b/handlers.py @@ -428,8 +428,8 @@ async def topup_balance_callback(callback: CallbackQuery, **kwargs): await callback.answer("❌ Ошибка пользователя") return - stars_enabled = config and config.STARS_ENABLED and config.STARS_RATES tribute_enabled = config and config.TRIBUTE_ENABLED + stars_enabled = config and config.STARS_ENABLED and config.STARS_RATES text = "💰 Выберите способ пополнения баланса:" @@ -440,7 +440,7 @@ async def topup_balance_callback(callback: CallbackQuery, **kwargs): await callback.message.edit_text( text, - reply_markup=topup_keyboard(user.language, tribute_enabled), + reply_markup=topup_keyboard(user.language, tribute_enabled, stars_enabled), parse_mode='Markdown' )