Remove btn
This commit is contained in:
@@ -574,14 +574,11 @@ async def process_callback_renew_plan(callback_query: types.CallbackQuery):
|
|||||||
|
|
||||||
balance = await get_balance(tg_id)
|
balance = await get_balance(tg_id)
|
||||||
if balance < cost:
|
if balance < cost:
|
||||||
replenish_button = types.InlineKeyboardButton(
|
view_profile = types.InlineKeyboardButton(
|
||||||
text="Пополнить баланс", callback_data="replenish_balance"
|
text="👤 Мой профиль", callback_data="view_profile"
|
||||||
)
|
|
||||||
back_button = types.InlineKeyboardButton(
|
|
||||||
text="Назад", callback_data="view_profile"
|
|
||||||
)
|
)
|
||||||
keyboard = types.InlineKeyboardMarkup(
|
keyboard = types.InlineKeyboardMarkup(
|
||||||
inline_keyboard=[[replenish_button], [back_button]]
|
inline_keyboard=[[view_profile]]
|
||||||
)
|
)
|
||||||
|
|
||||||
await bot.send_message(
|
await bot.send_message(
|
||||||
|
|||||||
@@ -104,12 +104,6 @@ async def notify_10h_keys(
|
|||||||
callback_data=f'renew_key|{record["client_id"]}',
|
callback_data=f'renew_key|{record["client_id"]}',
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
[
|
|
||||||
types.InlineKeyboardButton(
|
|
||||||
text="💳 Пополнить баланс",
|
|
||||||
callback_data="replenish_balance",
|
|
||||||
)
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
types.InlineKeyboardButton(
|
types.InlineKeyboardButton(
|
||||||
text="👤 Мой профиль", callback_data="view_profile"
|
text="👤 Мой профиль", callback_data="view_profile"
|
||||||
@@ -182,12 +176,6 @@ async def notify_24h_keys(
|
|||||||
callback_data=f'renew_key|{record["client_id"]}',
|
callback_data=f'renew_key|{record["client_id"]}',
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
[
|
|
||||||
types.InlineKeyboardButton(
|
|
||||||
text="💳 Пополнить баланс",
|
|
||||||
callback_data="replenish_balance",
|
|
||||||
)
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
types.InlineKeyboardButton(
|
types.InlineKeyboardButton(
|
||||||
text="👤 Мой профиль", callback_data="view_profile"
|
text="👤 Мой профиль", callback_data="view_profile"
|
||||||
|
|||||||
Reference in New Issue
Block a user