update cmc
This commit is contained in:
parent
b0a5d039ec
commit
7ae280e854
3
price.py
3
price.py
|
@ -318,6 +318,9 @@ def cryptopia(bot, trigger):
|
|||
|
||||
@sopel.module.commands('cmc', 'coinmarketcap')
|
||||
def cmc(bot, trigger):
|
||||
if trigger.group(2).lower() == 'trx':
|
||||
bot.say("Fuck off with your scams scammer")
|
||||
return
|
||||
try:
|
||||
r = requests.get('https://api.coinmarketcap.com/v1/ticker?limit=1000')
|
||||
j = r.json()
|
||||
|
|
Loading…
Reference in New Issue