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