From a720c91b088180b256c9c13631dbcd49e351ce9d Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 7 Jun 2019 10:56:31 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot_AI/AI_aiml.py | 1 + sopel_modules/SpiceBot_Core_Commands/Commands.py | 1 + 2 files changed, 2 insertions(+) diff --git a/sopel_modules/SpiceBot_AI/AI_aiml.py b/sopel_modules/SpiceBot_AI/AI_aiml.py index 5920368..2c9948e 100644 --- a/sopel_modules/SpiceBot_AI/AI_aiml.py +++ b/sopel_modules/SpiceBot_AI/AI_aiml.py @@ -70,6 +70,7 @@ def bot_command_rule(bot, trigger): if command_type == 'nickname': if trigger_args[0].lower() in ["what", "where"] and trigger_args[1].lower() in ["is", "are"]: + # TODO saved definitions searchterm = spicemanip.main(trigger_args, "3+") or None if searchterm: if trigger_args[0].lower() == "where": diff --git a/sopel_modules/SpiceBot_Core_Commands/Commands.py b/sopel_modules/SpiceBot_Core_Commands/Commands.py index f6c7cd8..c837e62 100644 --- a/sopel_modules/SpiceBot_Core_Commands/Commands.py +++ b/sopel_modules/SpiceBot_Core_Commands/Commands.py @@ -21,6 +21,7 @@ def nickname_comand_channels(bot, trigger): commandused = 'list' else: commandused = spicemanip.main(trigger.sb['args'], 1).lower() + bot.say(str(commandused)) commands_list = [] for commandstype in SpiceBot.commands.dict['commands'].keys():