From 3dfbf7f3793f101bc6b98d5e33072cbd77c15cdb Mon Sep 17 00:00:00 2001 From: anonimal Date: Fri, 17 Nov 2017 22:11:48 +0000 Subject: [PATCH] price: s/bcc/bch/g --- price.py | 6 +++--- test.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/price.py b/price.py index 2442274..91615ad 100644 --- a/price.py +++ b/price.py @@ -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 -@sopel.module.commands('bcc', 'bitcointrash') -def bcc(bot, trigger): - url = 'https://api.coinmarketcap.com/v1/ticker/?bcc' +@sopel.module.commands('bch', 'bitcointrash') +def bch(bot, trigger): + url = 'https://api.coinmarketcap.com/v1/ticker/?bch' try: r = requests.get(url) j = r.json() diff --git a/test.py b/test.py index 0cea6e4..3931364 100644 --- a/test.py +++ b/test.py @@ -1,7 +1,7 @@ import requests -url = 'https://api.coinmarketcap.com/v1/ticker/?bcc' +url = 'https://api.coinmarketcap.com/v1/ticker/?bch' r = requests.get(url) j = r.json()