biden commit

This commit is contained in:
root 2021-01-24 13:44:00 +00:00
parent 245c49a165
commit 554c0d5eb0
3 changed files with 4 additions and 4 deletions

2
ai.py
View File

@ -11,7 +11,7 @@ def gp2(bot, trigger):
data={ data={
'text': text, '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())
bot.say(r.json()['output'].split('\n\n')[0]) bot.say(r.json()['output'].split('\n\n')[0])

View File

@ -400,11 +400,11 @@ def trex(bot, trigger):
geturl = "" geturl = ""
if not trigger.group(2): if not trigger.group(2):
bot.say("spineless...") bot.say("spineless...")
break return
else: else:
if trigger.group(2) == "xmr": if trigger.group(2) == "xmr":
bot.say("spineless") bot.say("spineless")
break return
else: else:
geturl = trexurl + trigger.group(2) geturl = trexurl + trigger.group(2)
try: try:

View File

@ -908,6 +908,6 @@ def yeezy(bot, trigger):
# raise Exception('malformed response') # raise Exception('malformed response')
bot.say(j['quote']) bot.say(j['quote'])
sopel.module.commands('mental') @sopel.module.commands('mental')
def mental(bot, trigger): def mental(bot, trigger):
bot.say('Ahhhhhhhh!!!!') bot.say('Ahhhhhhhh!!!!')