simple-robot / simpler-robot

Simple Robot,一个bot风格的Kotlin多平台事件调度框架,异步高效、Java友好!/ A Bot-style Kotlin Multiplatform event scheduling framework, asynchronous and high-performance, java-friendly! 🐱😼😻😸
https://simbot.forte.love
GNU Lesser General Public License v3.0
512 stars 44 forks source link

v3监听群消息撤回问题 #417

Closed enchantedyou closed 2 years ago

enchantedyou commented 2 years ago

版本号

3.0.0-beta-RC-SNAPSHOT

疑问描述

请问应该使用哪个事件去监听群消息撤回并拿到被撤回的消息内容

ForteScarlet commented 2 years ago

在 mirai 中,使用 MiraiFriendMessageRecallEventMiraiGroupMessageRecallEvent 监听撤回消息。对于撤回消息的缓存启用,参考 https://github.com/simple-robot/simbot-component-mirai/issues/60

enchantedyou commented 2 years ago

生效了,阿里嘎多