Merge remote-tracking branch 'upstream/master'

pull/780/head
Itamar Friedman 2023-04-12 11:56:11 +03:00
commit 354fc76268
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,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().startswith( "error" ):
if command_name is not None and 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}"