From 87a5c85390181de58806aecbc41f98b4dcbaa1f9 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 5 May 2022 14:06:33 -0400 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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,