From 0403ff88efa5f9daed00c42c0c9d3ca9e4bfe185 Mon Sep 17 00:00:00 2001 From: zhayujie Date: Thu, 25 Jan 2024 15:45:24 +0800 Subject: [PATCH] feat: image num limit --- bot/linkai/link_ai_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/linkai/link_ai_bot.py b/bot/linkai/link_ai_bot.py index af5c682..95aec89 100644 --- a/bot/linkai/link_ai_bot.py +++ b/bot/linkai/link_ai_bot.py @@ -389,7 +389,7 @@ class LinkAIBot(Bot): try: i = 0 for url in image_urls: - if i >= 1: + if i >= 3: continue i += 1 if url.endswith(".mp4"):