Compare commits

..

4 Commits

Author SHA1 Message Date
root 872e960dac Merge branch 'master' of https://github.com/jwinterm/monerobux 2021-01-24 13:44:15 +00:00
root 554c0d5eb0 biden commit 2021-01-24 13:44:00 +00:00
jw 39b9c906f7
Merge pull request #52 from Cactii1/master
Add biden trigger
2021-01-24 08:42:38 -05:00
Cactii1 4678f0514c
Add biden trigger 2021-01-23 20:50:33 +01:00
3 changed files with 8 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,10 @@ 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!!!!')
@sopel.module.commands('biden')
def mental(bot, trigger):
bot.say('Come on man...')