Browse Source

fix: image num

master
zhayujie 10 months ago
parent
commit
1e0822703a
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      bot/linkai/link_ai_bot.py

+ 0
- 4
bot/linkai/link_ai_bot.py View File

@@ -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"):


Loading…
Cancel
Save