Add lambo

This commit is contained in:
root 2017-08-16 03:16:11 +00:00
parent d2fc6d7198
commit e7f7c85432
2 changed files with 11 additions and 7 deletions

View File

@ -447,13 +447,13 @@ def tall(bot, trigger):
if stampjson: if stampjson:
stringtosend += "Bitstamp last: {0:,.2f}, vol: {1:,.1f} | ".format(float(stampjson['last']), float(stampjson['volume'])) stringtosend += "Bitstamp last: {0:,.2f}, vol: {1:,.1f} | ".format(float(stampjson['last']), float(stampjson['volume']))
# BTC-E # BTC-E
try: # try:
btceresult = requests.get(btceurl) # btceresult = requests.get(btceurl)
btcejson = btceresult.json() # btcejson = btceresult.json()
except: # except:
btcejson = False # btcejson = False
if btcejson: # if btcejson:
stringtosend += "BTC-E last: {0:,.2f}, vol: {1:,.1f} | ".format(float(btcejson['btc_usd']['last']), float(btcejson['btc_usd']['vol_cur'])) # stringtosend += "BTC-E last: {0:,.2f}, vol: {1:,.1f} | ".format(float(btcejson['btc_usd']['last']), float(btcejson['btc_usd']['vol_cur']))
# Gemini # Gemini
try: try:
gemiresult = requests.get(gemiurl) gemiresult = requests.get(gemiurl)

View File

@ -208,6 +208,10 @@ def kid(bot, trigger):
def kramer(bot, trigger): def kramer(bot, trigger):
bot.say("Waiting for a retrace to 0.007") 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') @sopel.module.commands('lenny')
def lenny(bot, trigger): def lenny(bot, trigger):
bot.say(u'( ͡° ͜ʖ ͡°)'.encode('utf8')) bot.say(u'( ͡° ͜ʖ ͡°)'.encode('utf8'))