RetroAchievements / RetroAchievements/RABot

[Feature]: Direct Achievement News Push

Open
#23 0 comments 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

It would be nice to have a way to directly push achievement news generated by RABot to the correct channel with a ping. While I see that it doesn't do it right away to allow the dev to see if data is correct like game data actually being filled out and not just hubs linked, correct video grabbed, and so on, it would be nice to have a quick way of publishing it.

Proposed Solution

My idea would be something like if a gan or gan2 is generated the bot asks that specific users who used the command if the news post is fine like it is and should be announced if they have the developer role. SInce there sometimes are mass uploads like on rollouts it might also be good to have a way to give an extra parameter when confirming that allows the dev to suppress the @Achievement-News ping. My idea would be something like
/ganpush ping:yes/no with default being yes

Since this would not allow editing the {GAME_DESCRIPTION} anymore, it would also require to change the initial commands to add a parameter with the text right away. So the commands would be like
``/gan2 game-id: description:`

Alternative Solutions

Alternative solution is currently to generate it, copy the message, then go in the channel yourself and do the necessary edits.

Regarding the confirmation the bot asks for, not sure if a bot actually can easily get another command and then reference to another message it sent before or if the next command would be abadonded then. If that would be the cas maybe direct replies like "push ping" would do the job.

Command Type Preference

Slash command (/) - Preferred

Feature Scope

Specific server only (Main/Workshop)

Usage Examples

Seen in description above

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 gan and gan2 slash commands and how generated news messages are handled. Define the confirmation flow, developer-role check, description input, and optional ping suppression; done means an approved achievement can be pushed to the correct channel with the selected ping behavior.

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.