Implemented Modmail#162
Merged
bristermitten merged 18 commits intoSep 10, 2025
Merged
Conversation
Added the `ModmailModule` with commands, listeners, and utility functions to manage Modmail tickets. Introduced the `ModMailTicket` model for ticket handling. Implemented support for ticket assignment, archiving, and category-based initialization. Updated configuration to include Modmail-specific settings.
…y, and improved thread handling - Added a message filtering mechanism for archiving threads and DM processing. - Implemented thread-specific archiving, with support for user DMs and archive channels. - Updated `fetchAllMessages` and `fetchAllMessagesWithRetry` to accept optional filter functions, improving message retrieval efficiency. - Modified DM ticket initialization and thread message handling to provide better user feedback and error reporting. - Improved archive template to include clickable author links. - Refactored category handling for Modmail tickets and introduced timeout-based cleanup for pending selections.
- Added `handleModmailAssign` and `handleModmailAssignSelect` for assigning tickets to moderators. - Updated Modmail commands to include `/ticket assign`. - Implemented permission checks and notifications for better ticket assignment workflow. - Enhanced interaction handling to support user select menus for assignment.
…meral response flags
- Introduced `createModMailDetails` updates for displaying user-specific buttons and details. - Added `handleModmailUserDetails` and `handleModmailUserClose` for user ticket interaction (view details, close ticket). - Updated `/ticket` commands with a `close` subcommand for user and moderator workflows. - Refactored Modmail module to support global commands alongside guild-specific ones. - Enhanced interaction handling to include new custom IDs for user-specific actions.
bristermitten
self-requested a review
September 6, 2025 14:35
- Enhanced validation for thread accessibility, including checks for archived, deleted, or inaccessible threads. - Introduced user notifications when tickets are automatically closed due to thread issues. - Improved Discord API error handling, with additional checks for relevant error codes. - Reworked message and interaction processing to ensure robust thread and DM handling workflows.
…e/143-modmail # Conflicts: # src/modules/core/bump.listener.ts
…support - Reformatted imports for readability and consistency across modules. - Improved Modmail thread handling with validation for accessible thread channels and enhanced error logging. - Added `escape` method in `RealBigInt` to support proper string representation of BigInt values. - Fixed return behavior in Starboard listener to prevent redundant executions.
Member
|
lets gooo |
bristermitten
approved these changes
Sep 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.