overhauled help

This commit is contained in:
neersighted 2012-02-28 10:03:43 +08:00 committed by lukeroge
parent 0fdf370733
commit c58192f72c
58 changed files with 124 additions and 117 deletions

View file

@ -3,7 +3,7 @@ from util import http, hook
@hook.command(autohelp=False)
def bitcoin(inp, say=None):
".bitcoin -- gets current exchange rate for bitcoins from mtgox"
".bitcoin -- Gets current exchange rate for bitcoins from mtgox."
data = http.get_json("https://mtgox.com/code/data/ticker.php")
ticker = data['ticker']
say("Current: \x0307$%(buy).2f\x0f - High: \x0307$%(high).2f\x0f"