Spaces:
Sleeping
Sleeping
Update bot.py
Browse files
bot.py
CHANGED
|
@@ -215,7 +215,7 @@ async def start_handler(message: Message):
|
|
| 215 |
"💾 Fast & lightweight.\n\n"
|
| 216 |
"✅ <i>Just send your link below ⬇️</i>"
|
| 217 |
)
|
| 218 |
-
await message.reply(text)
|
| 219 |
|
| 220 |
@dp.message(F.text | F.caption)
|
| 221 |
async def message_handler(message: Message):
|
|
@@ -238,7 +238,10 @@ async def message_handler(message: Message):
|
|
| 238 |
return
|
| 239 |
|
| 240 |
batch_id = str(uuid.uuid4())
|
| 241 |
-
status_msg = await message.reply(
|
|
|
|
|
|
|
|
|
|
| 242 |
|
| 243 |
BATCH_JOBS[batch_id] = {
|
| 244 |
"total_links": len(terabox_links),
|
|
|
|
| 215 |
"💾 Fast & lightweight.\n\n"
|
| 216 |
"✅ <i>Just send your link below ⬇️</i>"
|
| 217 |
)
|
| 218 |
+
await message.reply(text, link_preview_is_disabled=True)
|
| 219 |
|
| 220 |
@dp.message(F.text | F.caption)
|
| 221 |
async def message_handler(message: Message):
|
|
|
|
| 238 |
return
|
| 239 |
|
| 240 |
batch_id = str(uuid.uuid4())
|
| 241 |
+
status_msg = await message.reply(
|
| 242 |
+
f"✅ Found {len(terabox_links)} links. Queued as batch `{batch_id[:6]}`.",
|
| 243 |
+
link_preview_is_disabled=True
|
| 244 |
+
)
|
| 245 |
|
| 246 |
BATCH_JOBS[batch_id] = {
|
| 247 |
"total_links": len(terabox_links),
|