Skip to content

Commit

Permalink
Merge pull request #1029 from Ikaros-521/owner
Browse files Browse the repository at this point in the history
修复:本地问答-文本 发送给 直播弹幕助手的消息错发成弹幕信息的bug
  • Loading branch information
Ikaros-521 authored Oct 23, 2024
2 parents 384bad8 + 383d452 commit 185cbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/my_handle.py
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ def local_qa_handle(self, data):
if My_handle.config.get("luoxi_project", "Live_Comment_Assistant", "enable") and \
"comment_reply" in My_handle.config.get("luoxi_project", "Live_Comment_Assistant", "type") and \
"消息产生时" in My_handle.config.get("luoxi_project", "Live_Comment_Assistant", "trigger_position"):
asyncio.run(send_msg_to_live_comment_assistant(My_handle.config.get("luoxi_project", "Live_Comment_Assistant"), content))
asyncio.run(send_msg_to_live_comment_assistant(My_handle.config.get("luoxi_project", "Live_Comment_Assistant"), resp_content))

# 是否启用了周期性触发功能,启用此功能后,数据会被缓存,之后周期到了才会触发
if My_handle.config.get("local_qa", "periodic_trigger", "enable"):
Expand Down

0 comments on commit 185cbba

Please sign in to comment.