Skip to content

Conversation

@kronosapiens
Copy link
Collaborator

Summary

  • Enable Discord.js partials (Message, Channel, Reaction) so the bot receives events for reactions on uncached messages
  • Fetch partial message data to retrieve the message author ID

Without partials enabled, Discord.js silently drops reaction events for messages not in cache, causing most reactions to go unregistered.

Test plan

  • Deploy to staging and react to an old message (posted before bot restart)
  • Verify the reaction is logged and stored in database
  • Check that reactions on recent messages still work

🤖 Generated with Claude Code

Without partials enabled, Discord.js silently drops reaction events for
messages not in cache. This caused most reactions to go unregistered.

- Enable Message, Channel, and Reaction partials in client config
- Fetch partial message data to get author ID for uncached messages

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kronosapiens kronosapiens merged commit a43b647 into main Jan 27, 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