From 7ae280e854060716da51f7544021f57976808b92 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 11 Jan 2018 04:43:56 +0000 Subject: [PATCH] update cmc --- price.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/price.py b/price.py index fd9038c..2dd60aa 100644 --- a/price.py +++ b/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()