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

Feat/implement thread events #196

Merged
merged 53 commits into from
Aug 27, 2024
Merged

Conversation

PandaGuerrier
Copy link
Member


Add Full Support for Threads

This Pull Request introduces comprehensive thread support to the project. Below is a summary of the key changes:

Thread Features:

  • Initial implementation of threads with event handling for thread-related operations.
  • Added events for thread member management: threadMemberAdd, threadMemberRemove, and threadMemberUpdate.
  • Introduced the ThreadsManager to handle threads, replacing the use of a regular map.
  • Added thread list synchronization and the associated events.
  • Created serializers and packets for managing threads, including adding, deleting, synchronizing, and updating threads.
  • Refactored thread handling within channels to use maps instead of lists.
  • Adjusted cache and keys for optimized thread management.
  • Set specific permissions for threads.

General Improvements:

  • Refactored channels to use serverId instead of guildId.
  • Fixed several bugs and adjusted existing logic to support threads.
  • Removed unnecessary code and packages to streamline the project.
  • Minor fixes in message handling, including nullable message reference management.

This PR fully integrates threads with optimized management, custom events, and improved support for thread-related operations.


@LeadcodeDev LeadcodeDev merged commit af30d34 into develop Aug 27, 2024
@LeadcodeDev LeadcodeDev deleted the feat/implement-thread-events branch August 27, 2024 20:11
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.

2 participants