From 554c0d5eb0b805a50a0d0aa376b40209339703fb Mon Sep 17 00:00:00 2001 From: root Date: Sun, 24 Jan 2021 13:44:00 +0000 Subject: [PATCH] biden commit --- ai.py | 2 +- price.py | 4 ++-- trifling.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ai.py b/ai.py index 9a1b0f4..104075a 100644 --- a/ai.py +++ b/ai.py @@ -11,7 +11,7 @@ def gp2(bot, trigger): data={ 'text': text, }, - headers={'api-key': '34b2c164-0c2e-4896-90ab-98dd56eeb290'} + headers={'api-key': '4509ed67-e409-4e68-821a-05a15ce6b052'} ) #bot.say(r.json()) bot.say(r.json()['output'].split('\n\n')[0]) diff --git a/price.py b/price.py index 400bfc0..0b4e08a 100644 --- a/price.py +++ b/price.py @@ -400,11 +400,11 @@ def trex(bot, trigger): geturl = "" if not trigger.group(2): bot.say("spineless...") - break + return else: if trigger.group(2) == "xmr": bot.say("spineless") - break + return else: geturl = trexurl + trigger.group(2) try: diff --git a/trifling.py b/trifling.py index ce52275..f40e829 100644 --- a/trifling.py +++ b/trifling.py @@ -908,6 +908,6 @@ def yeezy(bot, trigger): # raise Exception('malformed response') bot.say(j['quote']) -sopel.module.commands('mental') +@sopel.module.commands('mental') def mental(bot, trigger): bot.say('Ahhhhhhhh!!!!')