feat: 表情包匹配从情绪匹配改成嵌入相似度匹配
This commit is contained in:
@@ -174,7 +174,7 @@ class ChatBot:
|
||||
|
||||
bot_response_time = tinking_time_point
|
||||
if random() < global_config.emoji_chance:
|
||||
emoji_path = await emoji_manager.get_emoji_for_emotion(emotion)
|
||||
emoji_path = await emoji_manager.get_emoji_for_text(response)
|
||||
if emoji_path:
|
||||
emoji_cq = CQCode.create_emoji_cq(emoji_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user