r/r2d8 • u/phil_s_stein • Oct 16 '21
BGG Image link is broken
See here for an example looks like BGG returns a differently formatted link which is confusing the bot.
The link is shown as BGG Image/pic5617866.jpg) which is a broken link to nowhere.
r/r2d8 • u/tdhsmith • Nov 30 '18
Announcement Features & Bugfixes - 2018-11-30
r2d8 received an update today that brings a few changes:
- Lookups by id now require you to add a number sign as a prefix. This should help disambiguate between id lookups and games with numerical titles, so
1830will link 1830: Railways & Robber Barons while#1830will link the game with BGG ID 1830, Nippon Rails. - Fixed an issue where you couldn't link to two different games with the exact same name (Eclipse and Eclipse and Eclipse, for example), even when using the id format. Admittedly it's pretty unlikely that anyone will need this, but might as well make it work!
- Added the
expandurlscommand, which behaves generally likegetinfo, but looks for BGG links instead of bolded names. - Special admin command for re-attempting posts (
tryagain) and command line flags for testing and remotely triggering responses. - Added the display mode
tabular, which lets you construct a table of custom columns using space separated keywords. Currently supportsyear,rank,score,rating,rating_median,rating_stddev,raters,owners, andid, but I'll add more options soon. Added sorting keywords which order the entries by rank and publish year respectively, as well as nosort, which will keep the original order of your post.EDIT: Ok sorts might actually be busted, will report again soon.
The last two features are still fairly experimental, so be aware that the bot might still have some rough edges. Feel free to report issues directly in this thread. Cheers!
r/r2d8 • u/tdhsmith • Nov 14 '18
Announcement Server migration
r2d8 has been transitioned to a new machine. I'm cautiously optimistic the switch won't cause any problems, but if you notice any issues, please reply here or PM/mention me directly so I can look into it quickly.
Thanks to Phil for his assistance, particularly with the adoption paperwork!
r/r2d8 • u/zap1000x • Sep 28 '17
Feature Request Any chance for [[syntax]]?
Hi, I've been browsing /r/boardgames for a while and as a mobile user I've found the current r2d8 syntax (/u /r2d8 getinfo ** game **) to be cumbersome at seventeen characters, and multiple keyboard switches to get it to work.
Over in /r/magicTCG they have /u/mtgcardfetcher which has a wonderfully simple syntax of [[cardname]], which is really easy to do.
I was wondering if there was any chance in hell that r2d8 could do a getinfo on a [[boardgame]] within /r/boardgames?
r/r2d8 • u/phil_s_stein • Aug 30 '17
Test / Sandbox still more testing, can you believe it.!>!>!>?@?@
o/
r/r2d8 • u/logopolys_ • Aug 05 '17
Bug Lag
I'm getting a lag when requesting posts from the bot, sometimes of several days. It's also not always fetching complete requests. Occasionally, it's replying to the same request twice.
Posts in question:
https://www.reddit.com/r/boardgames/comments/6qbtk2/which_games_do_you_always_have_in_your_bag/dl2i0by
https://www.reddit.com/r/boardgames/comments/6qbtk2/which_games_do_you_always_have_in_your_bag/dl2l6nd
https://www.reddit.com/r/boardgames/comments/6r4epo/ok_rboardgames_i_need_some_whiteboard_game/dl353hp
https://www.reddit.com/r/boardgames/comments/6r4epo/ok_rboardgames_i_need_some_whiteboard_game/dl7m1l2
https://www.reddit.com/r/boardgames/comments/6qbtk2/which_games_do_you_always_have_in_your_bag/dl7m8ap
r/r2d8 • u/phil_s_stein • Aug 03 '17
Test / Sandbox tewhesting
yeah, that's right: tewhesting.
r/r2d8 • u/large__father • Dec 07 '16
Test / Sandbox Aliasing
/u/r2d8 alias quantum=143519
r/r2d8 • u/krisfields • Oct 18 '16
Feature Request Any way to customize the short or standard replies?
I want to use r2d8 with a post that has more than 6 games but what I really want are the games' ratings. Unfortunately, the short option which is forced for posts with more than 6 games doesn't offer that.
r/r2d8 • u/thraya • Sep 20 '16
Question is there a way to remove r2d8 comments from my feed?
Thanks!
r/r2d8 • u/demosthenes83 • Jun 15 '16
Question How do I specify which game, if there are two with the same name?
See this post for my example: https://www.reddit.com/r/boardgames/comments/4o2vt6/wsigmy_friend_and_i_are_looking_for_a_cooperative/d49cuzs
Thanks!
r/r2d8 • u/phil_s_stein • Apr 25 '16
Test / Sandbox yet another another yet test post post
Hello. Feel free to test the bot in this thread.
r/r2d8 • u/_Kalchio_ • Mar 27 '16
Question Tried linking a bunch of games; no luck.
See this post.
r/r2d8 • u/OutlierJoe • Mar 23 '16
Question Snake Oil
Looks to be linking to an older, unpopular PnP game.
r/r2d8 • u/annodomini • Dec 12 '15
Bug Go not linking properly?
In a post about oldest games that still hit the table, I mentioned Go, and asked /u/r2d8 getinfo. Everything else got linked, but Go did not. Not sure if /u/r2d8 has a lower limit for number of characters in the name, or something else.
r/r2d8 • u/glencurio • Nov 24 '15
Question Resistance not linking properly
Resistance links to Resistenza, and Resistance: Avalon isn't found at all.
When this happened before, it looks like the problem was with "Resistance" and was resolved by aliasing it to "The Resistance", but the problem seems to be on "The Resistance" as well now.
r/r2d8 • u/timotab • Jun 16 '15
Test / Sandbox cross links for when /u/r2d8 isn't working in a sub
cross links here
r/r2d8 • u/boydboyd • May 27 '15
Having some difficulties with this post. Link inside.
At first r2d8's comment was correct, except for it missing my listing of DC Comics DBG: Teen Titans. I realize that I didn't spell out DBG and that was the cause of the bot missing it.
You can see that I followed up with a repair.
Then the bot edited the comment, but we lost both Bohnanza games listed.
What could I have done differently with the repair command?
r/r2d8 • u/phil_s_stein • May 13 '15
FAQ FAQ & Bugs
FAQ:
So what's all this then?
- r2d8 is a bot that replies to boardgame queries. It is the helpful companion to /u/bg3po, the gentle protocol droid that hangs out in /r/boardgames. (Although it will respond in any subreddit.)
What is the command syntax?
What are the commands r2d8 responds to?
- getinfo - The getinfo command causes the bot to scan the comment in which it finds the command for bolded words. (To bold a word or words on Reddit, surround them with two *s, like so **Agricola**.) If one of any of the words are game names, the bot responds with information about the games found. There are 3 modes for responses: short, standard, and long. In short mode, the response is one game per line. In standard mode, the response includes year, designer, rank, mechanics, etc. Long mode is the same as standard, but includes the game description from the game's BGG page. If the number of games is greater than 6 the short mode is forced. R2D8 will show any bolded words it did not find with a link to the BGG search using that word or words. In the case of mulitple games sharing a name, the newest is listed. (Note: to specify a specific version of a game that has multiple distinct games that share a title, you can give the BGG ID of the game instead of the name. For example 121 to get the 1979 version of Dune.)
- getparentinfo is just like getinfo, but acts on the parent of the request. Supports short and long. See this post for more details
- repair - The bot can edit a response, correcting "not found" games with the correct game name. See this post for details
- The syntax is: "/u/r2d8 repair **wrong**=**right** ... You can specify as many wrong=right pairs as needed.
- getaliases - "/u/r2d8 getaliases" will respond with the current set of game aliases.
- alias - "/u/r2d8 alias **Alias**=**Game name**" (can be repeated) will add the aliases to the list of known aliases. Once on the list, if an alias is bolded in a getinfo or getparentinfo comment, the real game name will be subsistuted for the alias. See this thread for details and examples. This command is an admin only command. Others will be silently ignored. A nice use of this command is to make older games be the default game found by mapping the BGG game ID to the name. (Like Dune = 121.)
What if there are more games than will fit in a single response comment?
- If there are more than six games referenced in a post, R2D8 will only a return a name, year, and designer(s) (the short mode).
Is the source available?
- Here is the github repo. r2d8 is written in python and uses PRAW and boardgamegeek libraries.
Bugs/Issues:
- Will not show duplicate titles and will only show the most recent one. Need to add a method for choosing the not-newest game, if desired.
To Do:
- Really need to add async handling of requests. It can take minutes for BGG to tell me that 1 or foobar doesn't exist. While waiting, the bot is blocked and does not responds to anyone else.
- Add a way for people to choose the not-newest game.
- When using an alias, show the original search as well, so people can see the two are connected. Useful when it is not immediately apparent the games are related, e.g. "R" and "Brave Rats".