mirror of
https://github.com/jwinterm/monerobux.git
synced 2026-10-17 05:21:27 +02:00
price: s/bcc/bch/g
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user