mirror of
https://github.com/Dasemu/DesktopAssistant.git
synced 2026-11-28 10:36:07 +00:00
fixed everything
This commit is contained in:
1 parent
3333780e1e
commit
6f5fece60e
3 files changed
+12
-12
No files matched your search
+4
-4
@@ -50,16 +50,16 @@ def speak(text):
|
||||
engine.runAndWait()
|
||||
|
||||
|
||||
def wishMe(MASTER):
|
||||
def wishMe(master):
|
||||
hour = datetime.datetime.now().hour
|
||||
# print(hour)
|
||||
if hour >= 0 and hour < 12:
|
||||
speak("Good Morning" + MASTER)
|
||||
speak("Good Morning" + master)
|
||||
|
||||
elif hour >= 12 and hour < 18:
|
||||
speak("Good Afternoon" + MASTER)
|
||||
speak("Good Afternoon" + master)
|
||||
|
||||
else:
|
||||
speak("Good Evening" + MASTER)
|
||||
speak("Good Evening" + master)
|
||||
|
||||
# speak("Hey I am Jarvis. How may I help you")
|
||||
Reference in new issue
Block a user