Skip to content

feat: update TicketReplyDeadlineCommand to include optional 'until' p…#79

Open
MikeyLLP wants to merge 4 commits intoSLNE-Development:version/6.0.0from
MikeyLLP:feat/reply-deadline
Open

feat: update TicketReplyDeadlineCommand to include optional 'until' p…#79
MikeyLLP wants to merge 4 commits intoSLNE-Development:version/6.0.0from
MikeyLLP:feat/reply-deadline

Conversation

@MikeyLLP
Copy link
Copy Markdown
Contributor

…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:

  • Added a new optional until parameter (integer) to the TicketReplyDeadlineCommand, allowing users to set a custom reply deadline duration instead of always defaulting to 36 hours.
  • Modified the deadline calculation logic to use the value of the until parameter (in hours) if provided, defaulting to 24 hours otherwise.

Project versioning:

  • Updated gradle.properties to increment the project version from 6.0.18-SNAPSHOT to 6.0.19-SNAPSHOT.

Copilot AI review requested due to automatic review settings March 30, 2026 21:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 until INTEGER option to TicketReplyDeadlineCommand.
  • Updated the deadline calculation to use the provided until value (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.

Copy link
Copy Markdown
Member

@TheBjoRedCraft TheBjoRedCraft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see copilot review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/main/resources/messages.properties Outdated
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.

3 participants