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).
各位大佬,官方文档可以通过GlobalEventChannel过滤,但是我觉得比较麻烦,每个都需要去注册单独的事件。
现在我想像simbot那样,通过自定义注解加AOP去实现消息的过滤,有没有可实现的方法,或者说怎么加载AOP呢?
你可以自己实现一套运行时注解处理器