diff --git a/sopel_modules/SpiceBot_AI/AI_Goodbye.py b/sopel_modules/SpiceBot_AI/AI_Goodbye.py deleted file mode 100644 index 596da98..0000000 --- a/sopel_modules/SpiceBot_AI/AI_Goodbye.py +++ /dev/null @@ -1,19 +0,0 @@ -# coding=utf-8 - -from __future__ import unicode_literals, absolute_import, division, print_function - -import sopel.module - -import spicemanip - - -@sopel.module.rule(r'(?i)(bye|goodbye|gtg|seeya|cya|ttyl|g2g|gnight|goodnight),? $nickname[ \t]*$') -def bot_command_goodbye(bot, trigger): - byemsg = spicemanip.main(['Bye', 'Goodbye', 'Seeya', 'Auf Wiedersehen', 'Au revoir', 'Ttyl'], "random") - punctuation = spicemanip.main(['!', ''], "random") - bot.osd(byemsg + ' ' + trigger.nick + punctuation) - - -@sopel.module.nickname_commands("bye", "goodbye", "gtg", "seeya", "cya", "ttyl", "g2g", "gnight", "goodnight") -def bot_command_goodbye_b(bot, trigger): - bot_command_goodbye(bot, trigger) diff --git a/sopel_modules/SpiceBot_AI/AI_aiml.py b/sopel_modules/SpiceBot_AI/AI_aiml.py index 901f777..520682d 100644 --- a/sopel_modules/SpiceBot_AI/AI_aiml.py +++ b/sopel_modules/SpiceBot_AI/AI_aiml.py @@ -27,7 +27,6 @@ def bot_command_rule(bot, trigger): if str(message).lower().startswith(str(bot.nick).lower()): trigger_args, trigger_command = SpiceBot.prerun.trigger_args(message, 'nickname') - if trigger_command in SpiceBot.commands.dict['commands']["nickname"].keys(): return diff --git a/sopel_modules/SpiceBot_AI/__init__.py b/sopel_modules/SpiceBot_AI/__init__.py index 22654e1..a5f1f17 100644 --- a/sopel_modules/SpiceBot_AI/__init__.py +++ b/sopel_modules/SpiceBot_AI/__init__.py @@ -4,7 +4,6 @@ from __future__ import unicode_literals, absolute_import, division, print_functi from .AI import * from .AI_aiml import * from .AI_Hello import * -from .AI_Goodbye import * from .AI_Thanks import * from .AI_Lazy import * from .AI_InsultHandler import *