diff --git a/price.py b/price.py index 6d06586..2442274 100644 --- a/price.py +++ b/price.py @@ -442,6 +442,8 @@ def tall(bot, trigger): usdkrw = fixerjson['rates']['KRW'] except: usdcny = 7 + usdkrw = 1100 + usdjpy = 112 # Bitstamp try: stampresult = requests.get(stampurl) diff --git a/trifling.py b/trifling.py index 65d9257..e6ddaf2 100644 --- a/trifling.py +++ b/trifling.py @@ -200,6 +200,13 @@ def isittrue(bot, trigger): def jaxx(bot, trigger): bot.say(u'This command will be implemented soon. Honest. Especially if the devs can provide some unpaid assistance. Soon™...') +@sopel.module.commands('jimbell') +def jaxx(bot, trigger): + if not trigger.group(2): + bot.say(u'https://en.wikipedia.org/wiki/Jim_Bell') + else: + bot.say(u'{} has opened an assasination futures market predicting the impending demise of {}.'.format(trigger.nick, trigger.group(2))) + @sopel.module.commands('john_alan') def joshua(bot, trigger): bot.say(u'I like smooth.')