RetroAchievements / RetroAchievements/RABot

[Feature]: DevCompliance Command for Generic UWC Responses

Open
#27 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
3
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Problem or Use Case

Once a vote ends, we need to send a response to the reporter to let them know whether their report was accepted or not, and what action we took (if any).

Proposed Solution

Add modifiers to the "/uwc" command for "demote", "revise", and "reject". This cannot be automated after the poll ends, as it needs to be manually handled if the reported achievement belongs to an active dev.

Post the template as a draft message to the Discord thread with placeholder reactions of a thumbs up and a thumbs down - if 48 hours pass, or if more than half of the team has given the draft a thumbs up, send it. If anyone gives the draft a thumbs down, immediately abort tracking the drafted message, and send something in the thread among the lines of "Username disagrees with the drafted response, please discuss why before continuing."

Once the draft is sent, tag the thread as either "Approved" or "Denied", and tag it as "Reporter contacted".

Alternative Solutions

Currently we have templates in a Discord thread, and manually copy and paste those into the on-site message threads before closing the Discord thread.

Command Type Preference

Slash command (/) - Preferred

Feature Scope

Team members only

Usage Examples

/uwc demote
/uwc revise
/uwc reject

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing /uwc slash-command handling and the current response templates referenced in the issue. Trace how Discord threads are updated and closed, then define the draft approval, rejection, timeout, and tagging behavior. Done means demote, revise, and reject produce the described team-only workflow without requiring manual copy and paste.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.