Add more AI

This commit is contained in:
deathbybandaid 2019-05-11 17:27:45 -04:00
parent e6025b16e5
commit 09b406e685
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# coding=utf-8
from __future__ import unicode_literals, absolute_import, division, print_function
import sopel.module
import spicemanip
@sopel.module.rule(r'(?i)(really),? $nickname\?')
def bot_command_really(bot, trigger):
really = spicemanip.main(["Yes, really.", "Really really"], "random")
bot.reply(really)
@sopel.module.rule('$nickname really\?')
def bot_command_really_b(bot, trigger):
bot_command_really(bot, trigger)

View File

@ -0,0 +1,13 @@
# coding=utf-8
from __future__ import unicode_literals, absolute_import, division, print_function
import sopel.module
import spicemanip
@sopel.module.rule(r'(?i)(welcome back),? $nickname\?')
def bot_command_really(bot, trigger):
reply = spicemanip.main(['Thank you', 'thanks'], "random")
bot.reply(reply)

View File

@ -10,6 +10,8 @@ from .AI_Lazy import *
from .AI_InsultHandler import *
from .AI_Ping import *
from .AI_Love import *
from .AI_Really import *
from .AI_Welcomeback import *
__author__ = 'Sam Zick'
__email__ = 'sam@deathbybandaid.net'