Merge pull request #491 from awmorgan/fix_command_error_check_1
fix command error checkpull/536/head
commit
831cc70457
|
@ -355,7 +355,7 @@ while True:
|
|||
f"COMMAND = {Fore.CYAN}{command_name}{Style.RESET_ALL} ARGUMENTS = {Fore.CYAN}{arguments}{Style.RESET_ALL}")
|
||||
|
||||
# Execute command
|
||||
if command_name.lower() == "error":
|
||||
if command_name.lower().startswith( "error" ):
|
||||
result = f"Command {command_name} threw the following error: " + arguments
|
||||
elif command_name == "human_feedback":
|
||||
result = f"Human feedback: {user_input}"
|
||||
|
|
Loading…
Reference in New Issue