[shortutils] Remove unavailable !cat image and DOGE price

master
sfan5 2016-11-20 23:02:33 +01:00
parent 57412fc197
commit 3936acba3f
1 changed files with 36 additions and 43 deletions

View File

@ -40,12 +40,6 @@ next.commands = ['next']
def doge(phenny, input):
"""much wow, very function, such programming"""
if random.randint(0, 5) == 0:
data, sc = web.get('http://pubapi.cryptsy.com/api.php?method=singlemarketdata&marketid=132')
data = str(data, 'utf-8')
data = web.json(data)
phenny.say("DOGE is at " + data['return']['markets']['DOGE']['lasttradeprice'] + " BTC")
else:
links = [
"http://is.gd/zgopNT", # http://fc09.deviantart.net/fs70/f/2014/002/d/f/wow_by_kawiku-d70lb8q.png
"http://i.imgur.com/JphfPur.jpg",
@ -136,7 +130,6 @@ def cat(phenny, input):
"http://i.imgur.com/qYdPjox.jpg",
"http://i.imgur.com/8UvDsPc.jpg",
"http://i.imgur.com/yFmko1j.jpg",
"http://i.imgur.com/nySOBtb.jpg",
"https://i.imgur.com/kQ62yNM.jpg",
"https://i.imgur.com/s9tdEOi.jpg",
"http://i.imgur.com/8mFITRO.jpg",