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:
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)

View File

@ -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'))