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:
|
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)
|
||||||
|
|
|
@ -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'))
|
||||||
|
|
Loading…
Reference in New Issue