Update WebApp
This commit is contained in:
@@ -23,7 +23,9 @@ def main_keyboard(is_admin: bool = False, has_active_sub: bool = False) -> Inlin
|
||||
|
||||
def plans_keyboard() -> InlineKeyboardMarkup:
|
||||
buttons = []
|
||||
for plan_id, plan in PLANS.items():
|
||||
# Only show first 3 plans to users
|
||||
visible_plans = list(PLANS.items())[:3]
|
||||
for plan_id, plan in visible_plans:
|
||||
buttons.append([
|
||||
InlineKeyboardButton(
|
||||
text=f"{plan['name']} - {plan['price']} ⭐",
|
||||
|
||||
Reference in New Issue
Block a user