From 1e0822703ab980b65b9125875051f6860476b88b Mon Sep 17 00:00:00 2001 From: zhayujie Date: Thu, 25 Jan 2024 18:00:02 +0800 Subject: [PATCH] fix: image num --- bot/linkai/link_ai_bot.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bot/linkai/link_ai_bot.py b/bot/linkai/link_ai_bot.py index 95aec89..c93d5c4 100644 --- a/bot/linkai/link_ai_bot.py +++ b/bot/linkai/link_ai_bot.py @@ -387,11 +387,7 @@ class LinkAIBot(Bot): if not image_urls: return try: - i = 0 for url in image_urls: - if i >= 3: - continue - i += 1 if url.endswith(".mp4"): reply_type = ReplyType.VIDEO_URL elif url.endswith(".pdf") or url.endswith(".doc") or url.endswith(".docx"):