🤖 自动格式化代码 [skip ci]

This commit is contained in:
github-actions[bot]
2025-04-30 10:28:47 +00:00
parent f18d0786bb
commit 3b63005f57
2 changed files with 5 additions and 9 deletions

View File

@@ -750,7 +750,7 @@ class EmojiManager:
# 处理情感列表
emotions = [e.strip() for e in emotions_text.split(",") if e.strip()]
# 根据情感标签数量随机选择喵~超过5个选3个超过2个选2个
if len(emotions) > 5:
emotions = random.sample(emotions, 3)