From cefdeb9cccf62ac6997b615619a9492bb08bc7cf Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sat, 12 Feb 2022 18:49:17 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_1/SBCore/commands/__init__.py | 1 + sopel_SpiceBot_Core_Prerun/__init__.py | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index e605fb3..ed67d20 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -69,6 +69,7 @@ class Commands(): return commands_list def dispatch(self, bot, trigger, trigger_dict): + bot.say(str(trigger_dict)) if trigger_dict["trigger_type"] == "command": if trigger_dict["trigger_type"] in self.valid_sopel_commands: return self.dispatch_command(bot, trigger, trigger_dict) diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 9fe658b..6768383 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -80,17 +80,12 @@ def get_commands(bot, trigger): elif command_type == "action_command": commands_list = sb.commands.valid_sopel_action_commands - bot.say(command_type) - if trigger_command in commands_list: found.append(command_type) - bot.say(str(found)) if len(found): trigger_type = found[0] - bot.say(trigger_type) - commands.append({ "trigger_type": trigger_type, "trigger_prefix": trigger_prefix,