GraiaProject / Ariadne

一个优雅且完备的 Python QQ 自动化框架,基于 Mirai API HTTP v2。 Powered by Graia Project.
https://graia.cn/ariadne
GNU Affero General Public License v3.0
753 stars 45 forks source link

[Bug] Poke 元素 json 序列化错误 #77

Closed luxuncang closed 2 years ago

luxuncang commented 2 years ago

问题 Poke元素json序列化错误

如何复现

await app.sendGroupMessage(group, MessageChain.create([Poke(name = PokeMethods.BaoBeiQiu)]))

预期行为 name类型支持 str PokeMethods

使用环境:

日志/截图 image