update
Browse files
akn/manage/bots_manage.py
CHANGED
@@ -390,11 +390,11 @@ async def handle_delete_botdl(client: Client, callback: CallbackQuery):
|
|
390 |
f"🧠 Error: <code>{str(e)}</code>"
|
391 |
)
|
392 |
|
393 |
-
@ren.on_callback_query(filters.regex(r"^(confirmdeletedl|
|
394 |
async def delete_confirmationdl(client: Client, callback: CallbackQuery):
|
395 |
action, bots_uuid = callback.matches[0].groups()
|
396 |
|
397 |
-
if action == "
|
398 |
await callback.message.edit_text(
|
399 |
"✅ Deletion cancelled",
|
400 |
reply_markup=InlineKeyboardMarkup([
|
|
|
390 |
f"🧠 Error: <code>{str(e)}</code>"
|
391 |
)
|
392 |
|
393 |
+
@ren.on_callback_query(filters.regex(r"^(confirmdeletedl|nodeletedl)_(\w+)$"))
|
394 |
async def delete_confirmationdl(client: Client, callback: CallbackQuery):
|
395 |
action, bots_uuid = callback.matches[0].groups()
|
396 |
|
397 |
+
if action == "nodeletedl":
|
398 |
await callback.message.edit_text(
|
399 |
"✅ Deletion cancelled",
|
400 |
reply_markup=InlineKeyboardMarkup([
|