give .mtg help text

This commit is contained in:
Ryan Hitchman 2010-01-17 00:51:05 -07:00
parent 7c3d5b1eab
commit 2fd4375d78
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ from util import hook
@hook.command
def mtg(inp):
".mtg <card> -- gets information about Magic the Gathering card <card name>"
url = 'http://magiccards.info/query.php?cardname='
url += urllib2.quote(inp, safe='')
h = html.parse(url)