This commit is contained in:
deathbybandaid 2022-05-06 09:50:21 -04:00
parent b745b835fc
commit 968cbc5aea

View File

@ -57,7 +57,8 @@ def prerun():
# Handling for invalid nickname commands # Handling for invalid nickname commands
if comrun.command_type == "nickname_command": if comrun.command_type == "nickname_command":
if not len(valid_command_results): 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: else:
comrun.osd("%s does not appear to be a valid command. Possible Matches: %s" % (comrun.command["trigger_command"], valid_command_results)) comrun.osd("%s does not appear to be a valid command. Possible Matches: %s" % (comrun.command["trigger_command"], valid_command_results))
return return