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,