Skip to content

Track emoji usage in messages and reactions#1449

Merged
christolis merged 2 commits intoTogether-Java:developfrom
barsh404error:feature/metric
Mar 26, 2026
Merged

Track emoji usage in messages and reactions#1449
christolis merged 2 commits intoTogether-Java:developfrom
barsh404error:feature/metric

Conversation

@barsh404error
Copy link
Copy Markdown
Member

What

Adds EmojiTrackerListener to track emoji usage across messages and reactions.

Why

Closes #1445

How

  • Extended MessageReceiverAdapter and listens to all channels
  • Tracks custom emojis in messages via getMentions().getCustomEmojis()
  • Tracks emojis in reactions via onMessageReactionAdd
  • Custom emojis are identified by Discord ID (not name, since names aren't unique and can change)
  • Animated custom emojis tracked separately under emoji-custom-animated-{id}
  • Unicode emojis tracked by name under emoji-unicode-{name}
  • Registered in Features.java

@barsh404error barsh404error requested a review from a team as a code owner March 25, 2026 16:45
@barsh404error barsh404error self-assigned this Mar 25, 2026
@christolis christolis merged commit 97801ad into Together-Java:develop Mar 26, 2026
9 checks 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.

Add Emoji Metrics

5 participants