diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 6996443..72e7c5c 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -100,7 +100,7 @@ def rebuild_pipes(commands, trigger_str_add=None): splitkey_str = " %s " % sb.commands.pipe_split_key if trigger_dict["trigger_type"] == "command": - repipe_trigger_dict["trigger_str"] += "%s%s%s %s" % (splitkey_str, + repipe_trigger_dict["trigger_str"] += "%s%s%s %s" % (sb.commands.pipe_split_key, trigger_dict["trigger_prefix"], trigger_dict["trigger_command"], trigger_str) diff --git a/sopel_SpiceBot_Runtime_Commands/__init__.py b/sopel_SpiceBot_Runtime_Commands/__init__.py index 4e80273..64e43f0 100644 --- a/sopel_SpiceBot_Runtime_Commands/__init__.py +++ b/sopel_SpiceBot_Runtime_Commands/__init__.py @@ -9,7 +9,6 @@ from sopel_SpiceBot_Core_Prerun import prerun @plugin.command('testoa') def commands_output_a(bot, trigger, comrun): comrun.say("this is test a") - bot.say("test a") @prerun() @@ -17,7 +16,6 @@ def commands_output_a(bot, trigger, comrun): def commands_output_b(bot, trigger, comrun): comrun.say("this is test b") comrun.say(str(comrun.trigger).upper()) - bot.say("test b") @prerun()