Quellcode durchsuchen

fix: image num

master
zhayujie vor 1 Jahr
Ursprung
Commit
1e0822703a
1 geänderte Dateien mit 0 neuen und 4 gelöschten Zeilen
  1. +0
    -4
      bot/linkai/link_ai_bot.py

+ 0
- 4
bot/linkai/link_ai_bot.py Datei anzeigen

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


Laden…
Abbrechen
Speichern