fix update
Browse files- akn/manage/account.py +1 -18
akn/manage/account.py
CHANGED
@@ -251,11 +251,7 @@ force_reply = ReplyKeyboardMarkup(
|
|
251 |
[
|
252 |
[KeyboardButton("π€ Contact"), KeyboardButton("πΏ Status")],
|
253 |
[KeyboardButton("β‘ Prefixes"), KeyboardButton("β Setprefix")],
|
254 |
-
[KeyboardButton("β Create Userbot", request_contact=True)]
|
255 |
-
[KeyboardButton("π Create Magic Font")],
|
256 |
-
[KeyboardButton("π₯ Create Gemini"), KeyboardButton("π Create Meta AI")],
|
257 |
-
[KeyboardButton("β¨ Create Session Bot"), KeyboardButton("πΊ Create Captcha Bot")],
|
258 |
-
[KeyboardButton("π₯ Create Downloader Bot")],
|
259 |
],
|
260 |
resize_keyboard=True,
|
261 |
one_time_keyboard=True
|
@@ -319,18 +315,6 @@ async def robot(client: Client, message: Message):
|
|
319 |
prefix_new = prefix_ask.text
|
320 |
await set_prefix_in_db(user_id, prefix_new)
|
321 |
await message.reply_text(f"Prefix set to: {prefix_new}", reply_markup=ReplyKeyboardRemove())
|
322 |
-
elif message.text == "π₯ Create Gemini":
|
323 |
-
await new_menu_gemini_clone(client, message)
|
324 |
-
elif message.text == "π Create Magic Font":
|
325 |
-
await new_menu_magic_clone(client, message)
|
326 |
-
elif message.text == "π Create Meta AI":
|
327 |
-
await new_menu_meta_clone(client, message)
|
328 |
-
elif message.text == "β¨ Create Session Bot":
|
329 |
-
await new_menu_sessionbot_clone(client, message)
|
330 |
-
elif message.text == "πΊ Create Captcha Bot":
|
331 |
-
await new_menu_captcha_clone(client, message)
|
332 |
-
elif message.text == "π₯ Create Downloader Bot":
|
333 |
-
await new_menu_alldlbot_clone(client, message)
|
334 |
|
335 |
|
336 |
@Client.on_message(
|
@@ -516,7 +500,6 @@ async def contact_check(bot, message):
|
|
516 |
)
|
517 |
async def show_menu(client, message):
|
518 |
user_id = message.from_user.id
|
519 |
-
return await message.reply_text("Sorry this can't menu.")
|
520 |
if not await db_client.get_privacy_policy(user_id):
|
521 |
return await message.reply_text("You must agree to the privacy policy first.")
|
522 |
await client.send_message(
|
|
|
251 |
[
|
252 |
[KeyboardButton("π€ Contact"), KeyboardButton("πΏ Status")],
|
253 |
[KeyboardButton("β‘ Prefixes"), KeyboardButton("β Setprefix")],
|
254 |
+
[KeyboardButton("β Create Userbot", request_contact=True)]
|
|
|
|
|
|
|
|
|
255 |
],
|
256 |
resize_keyboard=True,
|
257 |
one_time_keyboard=True
|
|
|
315 |
prefix_new = prefix_ask.text
|
316 |
await set_prefix_in_db(user_id, prefix_new)
|
317 |
await message.reply_text(f"Prefix set to: {prefix_new}", reply_markup=ReplyKeyboardRemove())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
|
319 |
|
320 |
@Client.on_message(
|
|
|
500 |
)
|
501 |
async def show_menu(client, message):
|
502 |
user_id = message.from_user.id
|
|
|
503 |
if not await db_client.get_privacy_policy(user_id):
|
504 |
return await message.reply_text("You must agree to the privacy policy first.")
|
505 |
await client.send_message(
|