Karma
commited on
Commit
·
30f526d
1
Parent(s):
4db115a
nothing much
Browse files
Mikobot/plugins/instadl.py
CHANGED
@@ -20,7 +20,7 @@ API_URL = "https://karma-api2.vercel.app/instadl" # Replace with your actual AP
|
|
20 |
# <================================================ FUNCTION =======================================================>
|
21 |
async def instadl_command_handler(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
22 |
if len(context.args) < 1:
|
23 |
-
update.message.reply_text("Usage: /instadl [Instagram URL]")
|
24 |
return
|
25 |
|
26 |
link = context.args[0]
|
@@ -47,7 +47,7 @@ async def instadl_command_handler(update: Update, context: ContextTypes.DEFAULT_
|
|
47 |
await update.message.reply_text("Unsupported content type.")
|
48 |
else:
|
49 |
await update.message.reply_text(
|
50 |
-
"Unable to fetch content. Please check the Instagram URL."
|
51 |
)
|
52 |
|
53 |
except Exception as e:
|
|
|
20 |
# <================================================ FUNCTION =======================================================>
|
21 |
async def instadl_command_handler(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
22 |
if len(context.args) < 1:
|
23 |
+
await update.message.reply_text("Usage: /instadl [Instagram URL]")
|
24 |
return
|
25 |
|
26 |
link = context.args[0]
|
|
|
47 |
await update.message.reply_text("Unsupported content type.")
|
48 |
else:
|
49 |
await update.message.reply_text(
|
50 |
+
"Unable to fetch content. Please check the Instagram URL or try with another Instagram link."
|
51 |
)
|
52 |
|
53 |
except Exception as e:
|