nonebot 如何写多对话呢? #589
-
Beta Was this translation helpful? Give feedback.
Answered by
yanyongyu
Apr 4, 2025
Replies: 1 comment 2 replies
-
每一轮对话一问一答都是一个 matcher = on_xxx
@matcher.got("name", prompt="token 名字")
async def handle_name():
...
@matcher.got("type", prompt="token 类型")
async def handle_type():
... |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Charles-Hello
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
每一轮对话一问一答都是一个
got
,你多写几个就是多轮对话了啊