RetroAchievements / RABot

RetroAchievements.org's Discord Bot
GNU General Public License v3.0
9 stars 7 forks source link

Hub related info in !gan command #101

Open HolyShinx opened 2 years ago

HolyShinx commented 2 years ago

As we all know, "!gan [game ID]" generates ready to use post for announcing a set in "#Achievement News" channel

The issue is that the change in this update caused a minor issue, since now, the genre info is taken not only from the text field, but also from the similar games "Genre/Subgenre" hubs, which makes the posts look like this unknown

The genre which is after "NES," should be "2D Platforming" as you can see on this game page

The best fix in my opinion would be using the same solution the game pages are currently using

wescopeland commented 1 year ago

It appears this is mostly resolved, but I am noticing two minor issues.

  1. If the game has no genre, the output is similar to @HolyShinx's screenshot above.
  2. The bot output is being wrapped by extraneous code block backticks.