MCPcopy Index your code
hub / github.com/geekcomputers/Python / wishme

Function wishme

nitkarshchourasia/to_sort/JARVIS_python_bot/JARVIS_2.0.py:112–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110
111
112def wishme():
113 # This function wishes user
114 hour = int(datetime.datetime.now().hour)
115 if hour >= 0 and hour < 12:
116 speak("Good Morning!")
117 elif hour >= 12 and hour < 18:
118 speak("Good Afternoon!")
119 else:
120 speak("Good Evening!")
121 speak("I m Jarvis ! how can I help you sir")
122
123
124# obtain audio from the microphone

Callers 1

takecommandFunction · 0.70

Calls 1

speakFunction · 0.70

Tested by

no test coverage detected