Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加若干内部事件、内部行为事件和相关的消息拦截事件 #1019

Merged
merged 4 commits into from
Feb 22, 2025

Conversation

ForteScarlet
Copy link
Member

@ForteScarlet ForteScarlet commented Feb 22, 2025

see #1016

增加若干内部事件、内部行为事件和相关的消息拦截事件,包括:

基础事件:

  • InternalNotificationEvent 内部通知事件,继承 InternalEvent
  • InternalInterceptionEvent 内部拦截事件,继承 InternalEvent

其中,BotStageEvent 现在实现 InternalNotificationEvent

SendSupport 相关:

基本事件类型:

  • SendSupportInteractionEvent
    • SendSupportPreSendEvent
    • SendSupportPostSendEvent

它们下的子类型:

  • ContactInteractionEvent 联系人 Contact 相关
    • ContactPreSendEvent
    • ContactPostSendEvent
  • MemberInteractionEvent 成员 Member 相关
    • MemberPreSendEvent
    • MemberPostSendEvent
  • ChatRoomInteractionEvent ChatRoom 相关
    • ChatRoomPreSendEvent
    • ChatRoomPostSendEvent
    • ChatGroupInteractionEvent ChatGroup 相关
      • ChatGroupPreSendEvent
      • ChatGroupPostSendEvent
    • ChatChannelInteractionEvent ChatChannel 相关
      • ChatChannelPreSendEvent
      • ChatChannelPostSendEvent

ReplySupport 相关:

基本事件类型:

  • ReplySupportInteractionEvent
    • ReplySupportPreReplyEvent
    • ReplySupportPostReplyEvent

它们下的子类型:

  • MessageEventInteractionEvent 消息事件相关
    • MessageEventPreReplyEvent
    • MessageEventPostReplyEvent
  • ContactMessageEventInteractionEvent 联系人消息事件相关
    • ContactMessageEventPreReplyEvent
    • ContactMessageEventPostReplyEvent
  • ChatRoomMessageEventInteractionEvent ChatRoom 消息事件相关
    • ChatRoomMessageEventPreReplyEvent
    • ChatRoomMessageEventPostReplyEvent
    • ChatGroupMessageEventInteractionEvent ChatGroup 消息事件相关
      • ChatGroupMessageEventPreReplyEvent
      • ChatGroupMessageEventPostReplyEvent
    • ChatChannelMessageEventInteractionEvent ChatChannel 消息事件相关
      • ChatChannelMessageEventPreReplyEvent
      • ChatChannelMessageEventPostReplyEvent
  • MemberMessageEventInteractionEvent Member 消息事件相关
    • MemberMessageEventPreReplyEvent
    • MemberMessageEventPostReplyEvent
  • GuildMemberMessageEventInteractionEvent GuildMember 消息事件相关
    • GuildMemberMessageEventPreReplyEvent
    • GuildMemberMessageEventPostReplyEvent
  • ChatGroupMemberMessageEventInteractionEvent ChatGroupMember 消息事件相关
    • ChatGroupMemberMessageEventPreReplyEvent
    • ChatGroupMemberMessageEventPostReplyEvent

closes #1016

@ForteScarlet ForteScarlet added the 特性 一个新特性,或者一个新的功能/能力 label Feb 22, 2025
@ForteScarlet ForteScarlet self-assigned this Feb 22, 2025
@ForliyScarlet
Copy link
Member

Qodana Community for JVM

2 new problems were found

Inspection name Severity Problems
Unresolved reference in KDoc 🔶 Warning 2

💡 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 [email protected]

@ForteScarlet ForteScarlet linked an issue Feb 22, 2025 that may be closed by this pull request
@ForteScarlet ForteScarlet merged commit d39e8b8 into v4-dev Feb 22, 2025
5 of 6 checks passed
@ForteScarlet ForteScarlet deleted the internal-interaction-event branch February 22, 2025 13:21
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