From 953c35d505ab20f624db002d5577ce755b8a016a Mon Sep 17 00:00:00 2001 From: Laryn Qi Date: Mon, 27 Nov 2023 15:31:55 -0500 Subject: [PATCH] add error message for when bot server is not configured yet --- client/protocols/help.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/protocols/help.py b/client/protocols/help.py index 0122efb8..1a564dc4 100644 --- a/client/protocols/help.py +++ b/client/protocols/help.py @@ -104,6 +104,9 @@ def animate(): if 'output' not in help_response: print_error("An error occurred. Please try again later.") return + if 'requestid' not in help_response: + print_error("61A-bot is not offering help for this assignment yet. Please try again later.") + return hint = help_response.get('output') print(hint)