Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions venv/virtual.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ def takeCommand():
elif 'time' in statement:
strTime=datetime.datetime.now().strftime("%H:%M:%S")
speak(f"the time is {strTime}")

elif 'date' in statement or 'current date' in statement:
strTime=datetime.datetime.now().strftime("%d:%m:%Y")
speak(f"the date is {strTime}")

elif 'who are you' in statement or 'what can you do' in statement:
speak('I am G-one version 1 point O your persoanl assistant. I am programmed to minor tasks like'
Expand Down