Skip to content

Conversation

@kronosapiens
Copy link
Collaborator

Summary

  • Replaces deprecated fetchReply: true with withResponse: true in the /bow slash command
  • Updates message access pattern to use the new response.resource?.message API
  • Adds null check for the message response

Test plan

  • Run the bot locally and use /bow command
  • Verify the deprecation warning no longer appears in logs
  • Confirm the acknowledgment message is posted correctly

🤖 Generated with Claude Code

Discord.js deprecated the fetchReply option in favor of withResponse.
The new API returns the message via response.resource.message.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kronosapiens kronosapiens merged commit 35859ce into main Jan 28, 2026
1 check passed
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.

2 participants