Conversation
Signed-off-by: Ben <ben@tickets.bot>
There was a problem hiding this comment.
Pull Request Overview
This PR introduces several changes to improve message response handling and add new admin and help commands. Key changes include:
- Adding a new AdminDebugCommand to the admin commands list.
- Refactoring message response methods to use container-based components rather than embeds.
- Adding new handlers for displaying help pages and categories, and updating several button handler implementations.
Reviewed Changes
Copilot reviewed 77 out of 77 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| bot/command/impl/admin/admin.go | Added AdminDebugCommand to the command properties. |
| bot/command/context/* | Extended error context objects with a Command field. |
| bot/command/context/replyable.go | Refactored reply methods to build containers instead of embeds. |
| bot/button/handlers/* | Updated various button handlers to use container components and added new help page/category handlers. |
* feat: slight rewrite of /viewstaff with added pagination * oops * Add branding footer * Only show Support users if more than 1 exist * Switched role/user order * Move view staff message formats to the worker
Signed-off-by: Ben <ben@tickets.bot>
Merged
Cleanup
Signed-off-by: Ben <ben@tickets.bot>
Signed-off-by: Ben <ben@tickets.bot>
Signed-off-by: Ben <ben@tickets.bot>
Signed-off-by: Ben <ben@tickets.bot>
Refactor component variable names and improve blacklist logic Renames local variables for component slices to 'innerComponents' across multiple files for clarity and consistency. Refactors the blacklist command to separate user and role blacklist logic into dedicated handler functions, unifies response formatting, and fixes role blacklist count checks. Updates help and welcome message logic to use new container utilities. Adds a new i18n message for tickets started from messages with no content and improves the premium footer link formatting.
* feat(RM-51): Show panel name in close container if available Adds the panel name to the close container details if the ticket has an associated panel with a title. Also refactors claimedBy and reason formatting logic for clarity and error handling. * Converted rating/feedback/DM transcript * Add server info and icon to close container UI The BuildCloseContainer function now accepts a guild parameter to display the server name and icon in the ticket close UI (DMs only). * Fix section accessory rendering in close embed Refactors the logic for building the section with a guild icon accessory in the close embed. Now only adds the accessory if the guild and icon are present, otherwise appends the text display directly. This prevents empty or incorrect accessory fields.
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.
Disclaimer: This is a work in progress. We're still working on different methods for mapping existing tags, welcome messages, stats and DMs