From 679dad3aea232e8c1dea15d1d78972c7e138adb3 Mon Sep 17 00:00:00 2001 From: talksik Date: Sat, 29 Apr 2023 11:34:07 -0700 Subject: [PATCH] fallback --- youwilldie/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youwilldie/app.py b/youwilldie/app.py index 4ecb6e3..3e96b88 100644 --- a/youwilldie/app.py +++ b/youwilldie/app.py @@ -56,6 +56,8 @@ def process(text): dayOfWeek = dt.weekday() full_month_name = dt.strftime("%B") tts.say(f"Good morning! Today is {full_month_name} {dt.day}, {dt.year}. The day of the week is {dayOfWeek}") + else: + tts.say("Sorry, I don't understand that command") tts.say("hello, how can I help you today?")