This commit is contained in:
SengokuCola
2025-06-03 18:16:49 +08:00
15 changed files with 446 additions and 361 deletions

View File

@@ -602,9 +602,10 @@ class EmojiManager:
continue
# 检查是否需要处理表情包(数量超过最大值或不足)
if global_config.emoji.steal_emoji and ((self.emoji_num > self.emoji_num_max and global_config.emoji.do_replace) or (
self.emoji_num < self.emoji_num_max
)):
if global_config.emoji.steal_emoji and (
(self.emoji_num > self.emoji_num_max and global_config.emoji.do_replace)
or (self.emoji_num < self.emoji_num_max)
):
try:
# 获取目录下所有图片文件
files_to_process = [