update before pull
This commit is contained in:
parent
e2721b3dad
commit
3fd33aa2f1
|
@ -2,8 +2,10 @@ import sopel.module
|
||||||
import requests
|
import requests
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
# networkurl = "http://node.marty.cf:18019/getinfo"
|
||||||
# networkurl = "http://node.xmrbackb.one:18081/getinfo"
|
# networkurl = "http://node.xmrbackb.one:18081/getinfo"
|
||||||
networkurl = "http://opennode.minemonero.pro:18081/getinfo"
|
# networkurl = "http://opennode.minemonero.pro:18081/getinfo"
|
||||||
|
networkurl = "http://node.xmr.pt:18081/getinfo"
|
||||||
|
|
||||||
@sopel.module.commands('fork', 'forkening')
|
@sopel.module.commands('fork', 'forkening')
|
||||||
def fork(bot, trigger):
|
def fork(bot, trigger):
|
||||||
|
|
7
price.py
7
price.py
|
@ -616,8 +616,11 @@ def tall(bot, trigger):
|
||||||
finexjson = finexresult.json()
|
finexjson = finexresult.json()
|
||||||
except:
|
except:
|
||||||
finexjson = False
|
finexjson = False
|
||||||
if finexjson:
|
try:
|
||||||
stringtosend += "Bitfinex last: {0:,.2f}, vol: {1:,.1f} | ".format(float(finexjson['last_price']), float(finexjson['volume']))
|
if finexjson:
|
||||||
|
stringtosend += "Bitfinex last: {0:,.2f}, vol: {1:,.1f} | ".format(float(finexjson['last_price']), float(finexjson['volume']))
|
||||||
|
except:
|
||||||
|
stringtosend += "Finex sucks | "
|
||||||
# Bitthumb
|
# Bitthumb
|
||||||
try:
|
try:
|
||||||
thumbresult = requests.get(thumbbtcurl)
|
thumbresult = requests.get(thumbbtcurl)
|
||||||
|
|
Loading…
Reference in New Issue