doc(wiki): 插件开发页说明

This commit is contained in:
RockChinQ 2023-08-01 14:33:32 +08:00
parent 8a67fcf40f
commit d1459578cd

View File

@ -407,10 +407,11 @@ NormalMessageResponded = "normal_message_responded"
session: pkg.openai.session.Session 会话对象
prefix: str 回复文字消息的前缀
response_text: str 响应文本
finish_reason: str 响应结束原因
returns (optional):
prefix: str 修改后的回复文字消息的前缀
reply: list 替换回复消息组件列表元素为YiriMirai支持的消息组件
reply: list 替换回复消息组件列表
"""
SessionFirstMessageReceived = "session_first_message_received"