mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
fix: 1. 修复可视化面板无法保存配置的问题;修复help指令无法生成图片的问题
feat: 支持更多插件标准接口
This commit is contained in:
1
util/plugin_dev/api/v1/bot.py
Normal file
1
util/plugin_dev/api/v1/bot.py
Normal file
@@ -0,0 +1 @@
|
||||
from cores.qqbot.global_object import GlobalObject
|
||||
9
util/plugin_dev/api/v1/message.py
Normal file
9
util/plugin_dev/api/v1/message.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from cores.qqbot.core import oper_msg
|
||||
from cores.qqbot.global_object import AstrMessageEvent, CommandResult
|
||||
from model.platform._message_result import MessageResult
|
||||
|
||||
'''
|
||||
消息处理。在消息平台接收到消息后,调用此函数进行处理。
|
||||
集成了指令检测、指令处理、LLM 调用等功能。
|
||||
'''
|
||||
message_handler = oper_msg
|
||||
Reference in New Issue
Block a user