如何获取特定适配器的事件?
#559
-
比如qq上有人在群里戳一戳bot,怎么获取到这个事件然后让bot作出反应( |
Beta Was this translation helpful? Give feedback.
Answered by
idlist
Mar 3, 2022
Replies: 1 comment 2 replies
-
有个事件 举个例子: https://github.com/idlist/2bot-v4/blob/main/plugins/fun/poke.js 还有几个以 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bsdayo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
有个事件
notice/poke
,不是稳定接口所以不在文档里举个例子: https://github.com/idlist/2bot-v4/blob/main/plugins/fun/poke.js
还有几个以
notice
开头的相关事件,可以用 TS Typings 看一眼或者直接用 GitHub 搜