overhauled help
This commit is contained in:
parent
0fdf370733
commit
c58192f72c
58 changed files with 124 additions and 117 deletions
|
@ -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"
|
||||
|
|
Reference in a new issue