Skip to content

Add /events command for event role management#42

Merged
wescopeland merged 6 commits intoRetroAchievements:mainfrom
monkey-bug:feature/events-command
Feb 28, 2026
Merged

Add /events command for event role management#42
wescopeland merged 6 commits intoRetroAchievements:mainfrom
monkey-bug:feature/events-command

Conversation

@monkey-bug
Copy link
Copy Markdown
Contributor

  • Adds top-level /events command for Events Team
  • Adds /events gambler subcommand group for managing the Gambler role, including automatically awarding roles to members that have earned at least 3 of the given achievements
  • Adds AchievementUnlocks service to fetch from the RA API

This will allow any Events Team member to manage the role, instead of depending on a handful of people to manage it. The reasoning behind the top level command is for easier Discord permissions, and in the future adding subcommand groups for AotW and Peak roles.

Only breaking change is that this requires the Server Members Intent in the Discord bot settings, found in the Discord developer portal. This may require kicking and re-inviting the bot for the new settings to take.

@monkey-bug monkey-bug marked this pull request as ready for review February 25, 2026 19:07
Copy link
Copy Markdown
Member

@wescopeland wescopeland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for submitting this PR.

The core functionality here seems good and the service layer seems well-tested. I have a few feedback items to work through.

Comment thread src/slash-commands/events.command.ts
Comment thread src/slash-commands/events.command.ts Outdated
Comment thread src/services/achievement-unlocks.service.ts Outdated
Comment thread src/services/achievement-unlocks.service.ts Outdated
Comment thread src/config/constants.ts Outdated
Comment thread src/services/achievement-unlocks.service.ts Outdated
Comment thread src/services/achievement-unlocks.service.ts Outdated
Comment thread src/slash-commands/events.command.ts Outdated
Copy link
Copy Markdown
Member

@wescopeland wescopeland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@wescopeland wescopeland merged commit 68c0032 into RetroAchievements:main Feb 28, 2026
1 check passed
@monkey-bug monkey-bug deleted the feature/events-command branch February 28, 2026 23:29
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