From 968cbc5aea35064d8e35498b499607a35f4b7364 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 6 May 2022 09:50:21 -0400 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 9ffacb5..ef91a72 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -57,7 +57,8 @@ def prerun(): # Handling for invalid nickname commands if comrun.command_type == "nickname_command": if not len(valid_command_results): - comrun.osd("I'm not sure what you are asking me to do! What do you mean by \"%s %s\" ?" % (comrun.command["trigger_command"], comrun.command["trigger_str"])) + comrun.osd("I'm not sure what you are asking me to do! What do you mean by \"%s%s\" ?" % + (comrun.command["trigger_command"], " %s" % comrun.command["trigger_str"] if comrun.command["trigger_str"] != "" else "")) else: comrun.osd("%s does not appear to be a valid command. Possible Matches: %s" % (comrun.command["trigger_command"], valid_command_results)) return