Skip to content

[Core & Milky] Implement group_member_increase event#71

Merged
KusaGumina merged 2 commits into
LagrangeDev:mainfrom
kengwang:feat/group_member_increase
Oct 15, 2025
Merged

[Core & Milky] Implement group_member_increase event#71
KusaGumina merged 2 commits into
LagrangeDev:mainfrom
kengwang:feat/group_member_increase

Conversation

@kengwang
Copy link
Copy Markdown
Contributor

@kengwang kengwang commented Oct 9, 2025

No description provided.

Copilot AI review requested due to automatic review settings October 9, 2025 15:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements the group_member_increase event to handle when new members join a group. The implementation follows the existing pattern for similar events like group_member_decrease.

  • Adds BotGroupMemberIncreaseEvent event class with group, member, invitor, and operator information
  • Implements event handling logic in PushLogic to process group member increase notifications
  • Adds Milky layer conversion and serialization support for the new event

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Lagrange.Core/Events/EventArgs/BotGroupMemberIncreaseEvent.cs New event class for group member increase events
Lagrange.Core/Internal/Logic/PushLogic.cs Adds handling logic for group member increase notifications
Lagrange.Milky/Entity/Event/GroupMemberIncreaseEvent.cs Milky layer event entity for JSON serialization
Lagrange.Milky/Utility/EntityConvert.Event.cs Conversion method from core event to Milky event
Lagrange.Milky/Utility/JsonUtility.cs JSON serialization support for the new event
Lagrange.Milky/Event/EventService.cs Event service registration and handling

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread Lagrange.Milky/Event/EventService.cs Outdated
Squash and merge

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@KusaGumina KusaGumina merged commit cb965a9 into LagrangeDev:main Oct 15, 2025
9 checks passed
@kengwang kengwang deleted the feat/group_member_increase branch October 15, 2025 16:44
Bemly pushed a commit to Bemly/CharonAnchor that referenced this pull request May 3, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants