求助 #164
Answered
by
ForteScarlet
jiangdengke
asked this question in
Q&A
求助
#164
-
涉及的编程语言Java 涉及的组件库mirai (QQ) 疑问描述就是类似于一个解析抖音的监听函数,当第一次收到命令解析抖音的过程中,如果再次触发这个监听,知道上次监听的结果,来判断是否进行这次解析 |
Beta Was this translation helpful? Give feedback.
Answered by
ForteScarlet
Aug 14, 2023
Replies: 1 comment 2 replies
-
自行借助各种形式的缓存来记录上一次的处理结果即可。例如 Map、redis 等。 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
参考 #62
字面意思,返回
EventResult.truncate()
会截断低优先级的其他监听函数的执行,返回 void 则不会。