diff --git a/sopel_modules/SpiceBot_AI/AI_Really.py b/sopel_modules/SpiceBot_AI/AI_Really.py new file mode 100644 index 0000000..2a36402 --- /dev/null +++ b/sopel_modules/SpiceBot_AI/AI_Really.py @@ -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) diff --git a/sopel_modules/SpiceBot_AI/AI_Welcomeback.py b/sopel_modules/SpiceBot_AI/AI_Welcomeback.py new file mode 100644 index 0000000..334d8cb --- /dev/null +++ b/sopel_modules/SpiceBot_AI/AI_Welcomeback.py @@ -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) diff --git a/sopel_modules/SpiceBot_AI/__init__.py b/sopel_modules/SpiceBot_AI/__init__.py index 93aecc7..509146e 100644 --- a/sopel_modules/SpiceBot_AI/__init__.py +++ b/sopel_modules/SpiceBot_AI/__init__.py @@ -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'