RetroAchievements / RetroAchievements/RABot
[Feature]: Revision poll macro
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Problem or Use Case
Making revision polls is a real pain in the butt. It requires pinging active devs, linking the set page and linking the proposal post in the forum. Despite there being a template to cut and paste, it's not uncommon for polls to get screwed up due to discord issues.
See this example: https://discord.com/channels/310192285306454017/403829803322572800/1395592470854762538
Proposed Solution
Add a command that will post a typical revision poll, formatted correctly with some syntax such as:
/revpoll activedev, setpagelink, discussionpostlink
Example: /revpoll lohankain, https://retroachievements.org/game/602, https://retroachievements.org/forums/topic/5250?comment=297018#297018
Many sets to be revised do not have active authors, so there'd need to be a "no active dev" case.
The output would be a properly formatted poll that looks like this: https://discord.com/channels/310192285306454017/403829803322572800/1380205896965165099
Alternative Solutions
No response
Command Type Preference
Slash command (/) - Preferred
Feature Scope
All users
Usage Examples
No response
Additional Context
No response
Checklist
- I have searched existing issues to ensure this feature hasn't been requested
- This feature would be useful to multiple users, not just me
- I have provided clear use cases and examples
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing slash-command implementations in RABot and compare their argument parsing and response formatting. Use the linked revision-poll examples as the expected output, then verify that /revpoll handles an active developer, the no-active-developer case, and both supplied links.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100