diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index c44b224..d29d597 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -95,10 +95,11 @@ def rebuild_pipes(commands, trigger_str_add=None): trigger_str += " %s" % trigger_str_add splitkey_str = "" - print("%s%s%s %s" % (splitkey_str, trigger_dict["trigger_prefix"], trigger_dict["trigger_command"], trigger_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) + repipe_trigger_dict["trigger_str"] += str("%s%s%s %s" % (splitkey_str, + trigger_dict["trigger_prefix"], + trigger_dict["trigger_command"], + trigger_str)) elif trigger_dict["trigger_type"] == "nickname_command": repipe_trigger_dict["trigger_str"] += "%s%s %s %s" % (splitkey_str,