Skip to content

feat(api): 新增拦截器 API 并重构消息发送流程 - #1264

Merged
ForteScarlet merged 26 commits into
devfrom
new-interception-api
Nov 21, 2026
Merged

ForteScarlet merged 26 commits into
devfrom
new-interception-api

Conversation

@ForliyScarlet

Copy link
Copy Markdown
Member

针对消息发送操作的拦截与通知事件,废弃旧的 pre/post 事件并改为使用拦截器链 + 发送成功事件的实现。

  • 接入 OneBot、QQ、KOOK 组件,支持 Spring 和 Java API。
  • 完善发送上下文、回执校验及标准回复选项。
  • 旧消息交互事件停止分发,需迁移至新 API。

注:旧消息交互事件未被删除,但是可能已经失去作用,因此相关的代码可能需要迁移。

@ForliyScarlet ForliyScarlet added the 特性 一个新特性,或者一个新的功能/能力 label Nov 20, 2026
@ForteScarlet
ForteScarlet enabled auto-merge (squash) November 20, 2026 02:50
@ForliyScarlet

ForliyScarlet commented Nov 20, 2026 •

Copy link
Copy Markdown
Member Author

Qodana Community for JVM

9 new problems were found

Inspection name Severity Problems
Unresolved reference in KDoc 🔶 Warning 9

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@github-actions

Copy link
Copy Markdown

Job Summary for Gradle

Test Branch :: test
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
simple-robot checkKotlinAbi jvmTest jsTest linuxX64Test 9.6.1 ❌ Build Scan published

@ForteScarlet
ForteScarlet merged commit d465ddd into dev Nov 21, 2026
7 checks passed
@ForteScarlet
ForteScarlet deleted the new-interception-api branch November 21, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

特性 一个新特性,或者一个新的功能/能力

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants