Conversation
…ccent color of closed tickets
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Discord “ticket” feature area (configs + /ticket create flow) and introduces open/close ticket component handlers, while also pinning the discord.js dependency version.
Changes:
- Reformats
TicketRepositoryand adds ticket config constants + ticket categories. - Adds
/ticket createcommand and modal + “open ticket” / “close ticket” component handlers. - Pins
discord.jsto^14.25.1(but the lockfile update is currently broken due to merge conflicts).
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 17 comments.
Show a summary per file
| File | Description |
|---|---|
| src/database/repositories/TicketRepository.ts | Reformatting of repository methods (no functional changes). |
| src/bot/ticket/config/misc.ts | Adds ticket-related Discord IDs and UI constants. |
| src/bot/ticket/config/categories.ts | Defines ticket categories used by the ticket UI. |
| src/bot/ticket/components/openTicket.ts | Handles modal submit to create a ticket channel + DB record + staff report. |
| src/bot/ticket/components/closeTicket.ts | Handles “Close” button to close ticket + delete channel + staff report. |
| src/bot/ticket/commands/ticket.ts | Adds /ticket create command and constructs the modal UI. |
| package.json | Pins discord.js version. |
| package-lock.json | Lockfile changes, but currently contains unresolved merge conflicts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
… telling user there is already an open one + other test stuff
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 8 changed files in this pull request and generated 7 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.