Merge branch 'master' of https://github.com/LunarMeal/AstrBot
This commit is contained in:
@@ -151,4 +151,5 @@ class MessageEventResult(MessageChain):
|
||||
"""是否为 LLM 结果。"""
|
||||
return self.result_content_type == ResultContentType.LLM_RESULT
|
||||
|
||||
|
||||
CommandResult = MessageEventResult
|
||||
|
||||
@@ -4,6 +4,7 @@ from astrbot.api.event import AstrMessageEvent, MessageChain
|
||||
from astrbot.api.message_components import Plain, Image, Record, At, Node, Nodes
|
||||
from aiocqhttp import CQHttp
|
||||
|
||||
|
||||
class AiocqhttpMessageEvent(AstrMessageEvent):
|
||||
def __init__(
|
||||
self, message_str, message_obj, platform_meta, session_id, bot: CQHttp
|
||||
|
||||
Reference in New Issue
Block a user