Add lambo
This commit is contained in:
parent
d2fc6d7198
commit
e7f7c85432
14
price.py
14
price.py
|
@ -447,13 +447,13 @@ def tall(bot, trigger):
|
|||
if stampjson:
|
||||
stringtosend += "Bitstamp last: {0:,.2f}, vol: {1:,.1f} | ".format(float(stampjson['last']), float(stampjson['volume']))
|
||||
# BTC-E
|
||||
try:
|
||||
btceresult = requests.get(btceurl)
|
||||
btcejson = btceresult.json()
|
||||
except:
|
||||
btcejson = False
|
||||
if btcejson:
|
||||
stringtosend += "BTC-E last: {0:,.2f}, vol: {1:,.1f} | ".format(float(btcejson['btc_usd']['last']), float(btcejson['btc_usd']['vol_cur']))
|
||||
# try:
|
||||
# btceresult = requests.get(btceurl)
|
||||
# btcejson = btceresult.json()
|
||||
# except:
|
||||
# btcejson = False
|
||||
# if btcejson:
|
||||
# stringtosend += "BTC-E last: {0:,.2f}, vol: {1:,.1f} | ".format(float(btcejson['btc_usd']['last']), float(btcejson['btc_usd']['vol_cur']))
|
||||
# Gemini
|
||||
try:
|
||||
gemiresult = requests.get(gemiurl)
|
||||
|
|
|
@ -208,6 +208,10 @@ def kid(bot, trigger):
|
|||
def kramer(bot, trigger):
|
||||
bot.say("Waiting for a retrace to 0.007")
|
||||
|
||||
@sopel.module.commands('lambo')
|
||||
def lambo(bot, trigger):
|
||||
bot.say(u'Our mission is to give you a taste of the lambo dream 🏎 '.encode('utf8'))
|
||||
|
||||
@sopel.module.commands('lenny')
|
||||
def lenny(bot, trigger):
|
||||
bot.say(u'( ͡° ͜ʖ ͡°)'.encode('utf8'))
|
||||
|
|
Loading…
Reference in New Issue