give .mtg help text
This commit is contained in:
parent
7c3d5b1eab
commit
2fd4375d78
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue