price: s/bcc/bch/g

This commit is contained in:
anonimal 2017-11-17 22:11:48 +00:00
parent bc75268a76
commit 3dfbf7f379
No known key found for this signature in database
GPG Key ID: 66A76ECF914409F1
2 changed files with 4 additions and 4 deletions

View File

@ -27,9 +27,9 @@ thumbxmrurl = 'https://api.bithumb.com/public/ticker/xmr' # measured natively in
thumbbtcurl = 'https://api.bithumb.com/public/ticker/btc' # measured natively in KRW thumbbtcurl = 'https://api.bithumb.com/public/ticker/btc' # measured natively in KRW
@sopel.module.commands('bcc', 'bitcointrash') @sopel.module.commands('bch', 'bitcointrash')
def bcc(bot, trigger): def bch(bot, trigger):
url = 'https://api.coinmarketcap.com/v1/ticker/?bcc' url = 'https://api.coinmarketcap.com/v1/ticker/?bch'
try: try:
r = requests.get(url) r = requests.get(url)
j = r.json() j = r.json()

View File

@ -1,7 +1,7 @@
import requests import requests
url = 'https://api.coinmarketcap.com/v1/ticker/?bcc' url = 'https://api.coinmarketcap.com/v1/ticker/?bch'
r = requests.get(url) r = requests.get(url)
j = r.json() j = r.json()