Skip to content

Conversation

@kronosapiens
Copy link
Collaborator

Summary

  • Adds a rotating Meijin title awarded monthly to whoever receives the most Sensei reactions in a rolling 30-day window
  • Ties share the role (multiple people can hold Meijin simultaneously)
  • All Sensei are eligible, including grandfathered teammates
  • Checked as part of the existing monthly decay cron job
  • Filters out self-reactions system-wide (users can no longer endorse their own messages)

Configuration

Requires a new Discord role and env var:

  • MEIJIN_ROLE_ID - Discord role ID for the Meijin title
  • MEIJIN_WINDOW_DAYS - Rolling window for counting reactions (default: 30)

Test plan

  • Create Meijin role in Discord
  • Add MEIJIN_ROLE_ID to .env
  • Deploy and verify monthly cron assigns Meijin correctly
  • Verify self-reactions are ignored when reacting to own messages

🤖 Generated with Claude Code

Add a rotating "Meijin" title awarded monthly to whoever receives the
most Sensei reactions in a rolling 30-day window. Ties share the role.

Also filters out self-reactions system-wide - users can no longer
endorse their own messages (both at insert time and in all queries).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kronosapiens kronosapiens merged commit 0305d66 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