kihashi / mtg-irc

A module for the IRC Bot Phenny that allows users to query magic cards.
3 stars 1 forks source link

Command: .walker #75

Closed kihashi closed 9 years ago

kihashi commented 9 years ago

Often, people want to look up planewalkers, but it is hard because there are many other cards that have planeswalker names in them (Searching Chandra might not yield Chandra Ablaze).

Add a command that searches for type = planeswalker and subtype = input_string and display a list of all card name results. Allow the user to specify a number parameter to get the card text for a specific printing of the walker.

15:33   Nightcinder Kihashi:
15:33   +Kihashi    ?
15:34   Nightcinder if someone did .card chandra, could you have a list of the full names of those cards?
15:34   Nightcinder instead of spitting out the first one
15:39   tritoch can you do chandra | 1
15:50   +Kihashi    Nightcinder: I could do a list, but that kind of interferes with partial searches.
15:50   +Kihashi    What if they do .card a
15:50   @deveric    .walker
15:50   +Kihashi    Do I find every card that contains a?
15:50   @deveric    .walker subtype
15:50   Nightcinder there you go
15:50   Nightcinder .walker chandra
15:50   Nightcinder and it could list Chandra Nalaar | Chandra Ablaze | etc
15:50   @deveric    just gives you a list of all the chandras
15:51   +Kihashi    That I can do
kihashi commented 9 years ago

I plan on adding a search command that will replace this.