diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index bbe9e76..e391888 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -1,6 +1,6 @@ -from sopel.trigger import PreTrigger, Trigger +from sopel.trigger import PreTrigger class Commands(): diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 6d26335..4a35245 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -92,14 +92,14 @@ def rebuild_pipes(commands, trigger_str_add=None): trigger_str = trigger_dict["trigger_str"] splitkey_str = " %s " % sb.commands.pipe_split_key if trigger_str_add and trigger_number == 1: - # trigger_str += " %s" % trigger_str_add + trigger_str += " %s" % trigger_str_add splitkey_str = "" if trigger_dict["trigger_type"] == "command": - repipe_trigger_dict["trigger_str"] += "%s%s%s %s" % (splitkey_str, - trigger_dict["trigger_prefix"], - trigger_dict["trigger_command"], - trigger_str) + sadfsdfa_str = "%s%s%s %s" % (splitkey_str, trigger_dict["trigger_prefix"], trigger_dict["trigger_command"], trigger_str) + print(repipe_trigger_dict["trigger_str"]) + print(sadfsdfa_str) + repipe_trigger_dict["trigger_str"] += sadfsdfa_str elif trigger_dict["trigger_type"] == "nickname_command": repipe_trigger_dict["trigger_str"] += "%s%s %s %s" % (splitkey_str,