Update main.py
Browse files
main.py
CHANGED
@@ -151,11 +151,11 @@ async def cb_custom_key(client, query):
|
|
151 |
[
|
152 |
[
|
153 |
InlineKeyboardButton(
|
154 |
-
"API key V1",
|
155 |
callback_data="createkey"
|
156 |
),
|
157 |
InlineKeyboardButton(
|
158 |
-
"API key V2",
|
159 |
callback_data="createkeyprem"
|
160 |
),
|
161 |
],
|
@@ -314,7 +314,7 @@ async def cb_new_revokekey(client, query):
|
|
314 |
if data_json.get("is_banned", False):
|
315 |
keyboard_back = InlineKeyboardMarkup(
|
316 |
[
|
317 |
-
[InlineKeyboardButton("Support Group", url="https://t.me/
|
318 |
[InlineKeyboardButton("π Back", callback_data="custom_key")]
|
319 |
]
|
320 |
)
|
@@ -390,7 +390,7 @@ async def cb_new_keyprem(client, query):
|
|
390 |
[
|
391 |
InlineKeyboardButton(
|
392 |
"Support Group",
|
393 |
-
url="https://t.me/
|
394 |
),
|
395 |
]
|
396 |
]
|
@@ -406,10 +406,6 @@ async def cb_new_keyprem(client, query):
|
|
406 |
InlineKeyboardButton(
|
407 |
"π API Key",
|
408 |
copy_text=api_key
|
409 |
-
),
|
410 |
-
InlineKeyboardButton(
|
411 |
-
"π Update Expired",
|
412 |
-
callback_data="api_key_upgraded"
|
413 |
)
|
414 |
],
|
415 |
[
|
@@ -477,7 +473,7 @@ async def cb_new_key(client, query):
|
|
477 |
if data_json.get("is_deleted", False):
|
478 |
keyboard_back = InlineKeyboardMarkup(
|
479 |
[
|
480 |
-
[InlineKeyboardButton("Support Group", url="https://t.me/
|
481 |
[InlineKeyboardButton("π Back", callback_data="custom_key")]
|
482 |
]
|
483 |
)
|
@@ -489,7 +485,7 @@ async def cb_new_key(client, query):
|
|
489 |
if data_json.get("is_banned", False):
|
490 |
keyboard_back = InlineKeyboardMarkup(
|
491 |
[
|
492 |
-
[InlineKeyboardButton("Support Group", url="https://t.me/
|
493 |
[InlineKeyboardButton("π Back", callback_data="custom_key")]
|
494 |
]
|
495 |
)
|
|
|
151 |
[
|
152 |
[
|
153 |
InlineKeyboardButton(
|
154 |
+
"API key V1 (Stable)",
|
155 |
callback_data="createkey"
|
156 |
),
|
157 |
InlineKeyboardButton(
|
158 |
+
"API key V2 (AI)",
|
159 |
callback_data="createkeyprem"
|
160 |
),
|
161 |
],
|
|
|
314 |
if data_json.get("is_banned", False):
|
315 |
keyboard_back = InlineKeyboardMarkup(
|
316 |
[
|
317 |
+
[InlineKeyboardButton("Support Group", url="https://t.me/RendyProjects")],
|
318 |
[InlineKeyboardButton("π Back", callback_data="custom_key")]
|
319 |
]
|
320 |
)
|
|
|
390 |
[
|
391 |
InlineKeyboardButton(
|
392 |
"Support Group",
|
393 |
+
url="https://t.me/RendyProjects"
|
394 |
),
|
395 |
]
|
396 |
]
|
|
|
406 |
InlineKeyboardButton(
|
407 |
"π API Key",
|
408 |
copy_text=api_key
|
|
|
|
|
|
|
|
|
409 |
)
|
410 |
],
|
411 |
[
|
|
|
473 |
if data_json.get("is_deleted", False):
|
474 |
keyboard_back = InlineKeyboardMarkup(
|
475 |
[
|
476 |
+
[InlineKeyboardButton("Support Group", url="https://t.me/RendyProjects")],
|
477 |
[InlineKeyboardButton("π Back", callback_data="custom_key")]
|
478 |
]
|
479 |
)
|
|
|
485 |
if data_json.get("is_banned", False):
|
486 |
keyboard_back = InlineKeyboardMarkup(
|
487 |
[
|
488 |
+
[InlineKeyboardButton("Support Group", url="https://t.me/RendyProjects")],
|
489 |
[InlineKeyboardButton("π Back", callback_data="custom_key")]
|
490 |
]
|
491 |
)
|