Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
比如在 plugin类中,获取群消息事件的API我该怎么做
意思是你想主动发出一个群消息事件?
Events -> 广播自定义事件
其中的 ExampleEvent 换成 net.mamoe.mirai.event.events.GroupMessageEvent,你能收集到足够的信息把它实例化就可以了