fix:新插件适配
This commit is contained in:
@@ -122,11 +122,7 @@ class ChatBot:
|
|||||||
|
|
||||||
# 神秘的消息流数据结构处理
|
# 神秘的消息流数据结构处理
|
||||||
if chat.group_info:
|
if chat.group_info:
|
||||||
if chat.group_info.group_name:
|
mes_name = chat.group_info.group_name
|
||||||
mes_name_dict = chat.group_info.group_name
|
|
||||||
mes_name = mes_name_dict.get("group_name", "无名群聊")
|
|
||||||
else:
|
|
||||||
mes_name = "群聊"
|
|
||||||
else:
|
else:
|
||||||
mes_name = "私聊"
|
mes_name = "私聊"
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ schedule_doing_update_interval = 900 # 日程表更新间隔 单位秒
|
|||||||
schedule_temperature = 0.5 # 日程表温度,建议0.5-1.0
|
schedule_temperature = 0.5 # 日程表温度,建议0.5-1.0
|
||||||
|
|
||||||
[platforms] # 必填项目,填写每个平台适配器提供的链接
|
[platforms] # 必填项目,填写每个平台适配器提供的链接
|
||||||
qq="http://127.0.0.1:18002/api/message"
|
nonebot-qq="http://127.0.0.1:18002/api/message"
|
||||||
|
|
||||||
[heartflow] # 注意:可能会消耗大量token,请谨慎开启
|
[heartflow] # 注意:可能会消耗大量token,请谨慎开启
|
||||||
enable = false
|
enable = false
|
||||||
|
|||||||
Reference in New Issue
Block a user