Traceback (most recent call last):
File ".venv\lib\site-packages\graia\broadcast\__init__.py", line 201, in Executor
result = await run_always_await_safely(
File ".venv\lib\site-packages\graia\broadcast\utilles.py", line 31, in run_always_await_safely
return callable(*args, **kwargs)
File ".venv\lib\site-packages\graia\application\__init__.py", line 237, in logger_friend_message
message_string=event.messageChain.asSerializationString().__repr__(),
File ".venv\lib\site-packages\graia\application\message\chain.py", line 396, in asSerializationString
result.append(e.asSerializationString())
AttributeError: 'Element' object has no attribute 'asSerializationString'
[2021-04-04 13:22:27,164][INFO]: [BOT xxxxxxxxx] Friend(xxxxxxxxx) <- 'Hello, World!'
描述你遇到的问题:
使用文档的示例代码可以回复消息,但 graia 控制台报错
复现步骤: 该 BUG 会在进行以下操作后出现:
发生错误的代码
控制台日志输出截图:
运行环境:
mirai-core
版本: 当前最新版mirai-api-http
版本: 当前最新版graia-application-mirai
版本: 当前最新版