Skip to content

Removed Deprecated function arguments #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pdzly
Copy link
Contributor

@Pdzly Pdzly commented Aug 12, 2025

This PR simply changes deprecated arguments to the non deprecated ( drop-in replacement ) arguments

@bristermitten bristermitten requested a review from Copilot August 12, 2025 20:34
Copy link

@Copilot 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

This PR updates Discord.js interaction reply arguments from deprecated ephemeral and fetchReply properties to their newer equivalents flags: ["Ephemeral"] and withResponse: false.

  • Replace deprecated ephemeral: true with flags: ["Ephemeral"]
  • Replace deprecated fetchReply: true with withResponse: false
  • Minor import statement reorganization in one file

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/modules/xp/dailyReward.command.ts Updates ephemeral flags in daily reward error responses
src/modules/roles/roleColour.command.ts Updates ephemeral flag in color validation error
src/modules/learning/learning.command.ts Updates ephemeral flags in permission check and list responses
src/modules/information/informationMessage.listener.ts Updates ephemeral flags and fetchReply replacement in button interactions
src/modules/information/informationMessage.command.ts Updates ephemeral flags in message editing responses
src/modules/faq/faq.command.ts Updates ephemeral flags across FAQ CRUD operations and reorganizes imports
src/modules/core/set.command.ts Updates both ephemeral and fetchReply replacements, reorganizes imports

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

1 participant