Skip to content

在持续会话中如何通过一个方法发送不同的文字内容 #107

Answered by ForteScarlet
yujumpjump asked this question in Q&A
Discussion options

You must be logged in to vote

https://simbot.forte.love/docs/basic/continuous-session

持续会话 ContinuousSessionContext 的本质是允许在同一个监听函数中接收多个可能连续的事件。"每次发送不同的话" 根据实际业务逻辑正常 send 不同的内容就是了。

如果 ContinuousSessionContext 无法满足需求,则考虑自行保存"会话状态"实现"持续会话"功能。

Replies: 2 comments 25 replies

Comment options

You must be logged in to vote
25 replies
@ForteScarlet
Comment options

@yujumpjump
Comment options

@ForteScarlet
Comment options

@yujumpjump
Comment options

@ForteScarlet
Comment options

Answer selected by ForteScarlet
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
模块:核心 与核心库相关的内容
2 participants