feat: update TicketReplyDeadlineCommand to include optional 'until' p…#79
Open
MikeyLLP wants to merge 4 commits intoSLNE-Development:version/6.0.0from
Open
feat: update TicketReplyDeadlineCommand to include optional 'until' p…#79MikeyLLP wants to merge 4 commits intoSLNE-Development:version/6.0.0from
MikeyLLP wants to merge 4 commits intoSLNE-Development:version/6.0.0from
Conversation
…arameter for custom deadlines
Contributor
There was a problem hiding this comment.
Pull request overview
Enhances the Discord ticket “reply-deadline” slash command to support a custom reply deadline duration via an optional integer parameter, and bumps the project snapshot version.
Changes:
- Added an optional
untilINTEGER option toTicketReplyDeadlineCommand. - Updated the deadline calculation to use the provided
untilvalue (fallback default now 24 hours). - Bumped project version to
6.0.19-SNAPSHOT.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/main/kotlin/dev/slne/surf/discord/ticket/command/TicketReplyDeadlineCommand.kt | Adds optional until option and uses it to compute the deadline timestamp. |
| gradle.properties | Increments the project snapshot version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…and to ensure positive deadlines
…and to specify hours
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…force positive and maximum limits
TheBjoRedCraft
approved these changes
Apr 10, 2026
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.
…arameter for custom deadlines
This pull request introduces an enhancement to the ticket reply deadline command by allowing users to specify a custom deadline duration, in addition to the existing default. It also updates the project version.
Feature enhancements:
untilparameter (integer) to theTicketReplyDeadlineCommand, allowing users to set a custom reply deadline duration instead of always defaulting to 36 hours.untilparameter (in hours) if provided, defaulting to 24 hours otherwise.Project versioning:
gradle.propertiesto increment the project version from6.0.18-SNAPSHOTto6.0.19-SNAPSHOT.