r/MTGCardFetcher • u/MTGCardFetcher • Dec 22 '15
MTGCardFetcher Help
What is the bot?
The bot functions as an auto-responder to posts in which people request certain Magic: the Gathering (MTG) cards. The response will contain images and links to various MTG sites as an easy way to tell people about certain cards, as there are many MTG cards.
How does it work:
In Magic: the Gathering subreddits, you can call the bot by putting the name of an MTG card between [[]] brackets. That's double brackets, e.g.: [[Jace, the Mind Sculptor]]. Multiple cards, up to a maximum of currently 20 are responded to by the bot (due to a maximum message length of reddit and the bot not responding with enormous posts).
The bot respond to self-posts. Any self-posts containing cards will be replied with.
Edits will not work. The amount of API calls and time this costs is too much for the bot to keep track off.
What does the bot respond with?
It responds with 4-5 links (depending on the sub) per card.
The format is as following:
Card Image - (G), (SF), (txt), {EDH}
Card Image: The (requested) name of the card, with a link to an image Scryfall. The name given is the one originally requested by the poster, to indicate if anything was edited later but mostly to not suddenly have a vague cardname after a "wrong" spellcheck. The image linked goes to Scryfall because they have high res images and support the bot with a good API.
(G): This is a link to the whole page of the card on the Official Gatherer, to see comments or other versions of the card.
(SF): This links to Scryfall, one of the more popular sites with a nice-to-use API and usage of their images.
(txt): Links to a page on scryfall with only text.
EDH: On EDH-subreddits (/r/EDH and /r/CompetitiveEDH the bot adds an additional link to the website edhrec.com, showing EDH advice for that card.
Specific Printings
Cards can be called with their set ID. You can add a set shortcode after a cardname, which will fetch the card's image from that set if it was in that set (else it will default to the regular image). In case of specific printings like in Alliances or Unstable, you can add the card's number after a dash.
Example:
The best [[Wrath of God|C13]] is Kev Walker's artwork.
My favourite Very Cryptic Command is [[Very Cryptic Command|ust-49a]]
Reply:
Wrath of God
Very Cryptic Command
It's possible to use both [[CARDNAME|SET]] or [[CARDNAME\SET]] (a pipe | character or backwards \ slash).
You can see the codes for expansions on https://mtg.wiki/page/Set#List_of_Magic_expansions_and_sets It uses those (as defined in mtgjson). Using the entire setname is also possible, but requires no spelling errors (like [[Cardname|Theros]]).
Nicknames
The bot knows a bunch of the most common nicknames like:
angry omnath, bfm, bleach, bluetooth, bob, bolt, bte, captain keyword, chris pikula, coco, durdle turtle, ernie, finkel, fog frog, gary, gifts, gitgud frog, goyf, i can't even, ikea cradle, jens, jon finkel, lab man, larry's disk, looter scooter, microsoft lettuce, misty, mom, party bob, path, paulo/pvddr, pepsi man, pot of greed, pumba, red entomb, sad robot, skittles, snappy, spoon, steve, superman, t3feri, taylor swift, three elves, tiago chan, tim, titi, traitor gator, wog, đ
Plus a few hidden ones. If you ever know a new/good nickname, be sure to tell me!
Active subreddits
The bot is currently active on the following subreddits:
239MTG
affinityforartifacts
alliesmtg
AllStandards
Alphabetter
Amonkhet
architectMTG
ArclightPhoenixMTG
aristocratsMTG
BadMTGCombos
BaSE_MtG
basementboardgames
bourgeoisemtg
BrewEDH
BudgetBrews
budgetdecks
BulkMagic
cardsphere
casual_edh
casualmtg
CatsPlayingMTG
cedhcirclejerk
CircuitContest
cocomtg
commanderbreakdowns
CommunityCube
CompetitiveEDH
custommagic
deathandtaxesmtg
DeckbuildingPrompts
DinosaursMTG
edh
edhcirclejerk
edhdeckbuilding
EDHug
EggsMTG
ElvesMTG
enchantress
EsperMagic
findmycard
fishmtg
FlickerMTG
FringeEDH
FungiMTG
GlimpseOfTomorrow
goblinsMTG
HamiltonMTG
HardenedScales
hellscube
historicartisan
humansmtg
infect
jankEDH
johnnys
kikichord
lanternmtg
lavaspike
locketstorm
lrcast
magicarena
Magicdeckbuilding
MagicDuels
magicTCG
magicTCG101
MagicTCGItalia
MakingMagic
marchesatheblackrose
marduMTG
MentalMentalMagic
millMTG
ModernLoam
modernmagic
ModernRecMTG
modernspikes
ModernZombies
monobluemagic
mtg
MTGAngels
mtgbattlebox
mtgbracket
mtgbrawl
mtgbudgetmodern
MTGCanada
mtgcaptain
MTGCardFetcher
mtgcube
mtgdeckpics
MTGDredge
mtgfinalfrontier
mtgfinance
mtgfrontier
mtggiftexchange
mtghistoric
MTGJumpStart
mtglegacy
MTGManalessDredge
MTGMaverick
mtgmel
mtgrules
mtgrumors
mtgspec
mtgspirits
mtgtreefolk
mtgvorthos
myr
neobrand
nicfitmtg
NoriaCustomMagic
oathbreaker_mtg
oldschoolmtg
pauper
PauperArena
PauperEDH
peasantcube
PennyDreadfulMTG
PioneerMTG
planeshiftmtg
playEDH
ponzamtg
RatsMTG
RealLifeMTG
RecklessBrewery
rpg_brasil
scapeshift
ScryfallThemes
shittyjudgequestions
sistersmtg
skredred
Sligh
spikes
stoneblade
StrangeBrewEDH
SuperUltraBudgetEDH
Thoptersword
thrabendoomsayers
threecardblind
TinyLeaders
traaagicthegathering
TronMTG
UBFaeries
undyingretributionmtg
uwcontrol
xmage
You can also request the bot anywhere on Reddit by highlighting it (/u/mtgcardfetcher).
If it misses a certain sub, please consult the moderators first and let them tell me (/u/xslicer) to activate it there.
Inner workings
After checking a post for [[]]'s and getting the names, it does a few checks for validity:
Checks MTGJson if the given name exists.
Checks Scryfall if the name exists (also checking spoilers and small spellchecks that way)
Then checks for nicknames or legendary names
Else checks a spelling checker (private, using MTGJson)
If a card is found, it will respond with the URL's given, all placed with the correct name of the card. Since it relies on Scryfall or MTGJson it will not be able to link any cards that have not been updated yet. Spoilered cards are linked via Scryfall. Links to the Gatherer or EDHRec might be broken if it does not exist in their database.
Several earlier broken cards like split cards and holiday cards have been added in a seperate database, not relying on MTGJson.