Skip to content

Commit

Permalink
Merge pull request Ash515#41 from Akashdeep-47/master
Browse files Browse the repository at this point in the history
Updated issue Ash515#13
  • Loading branch information
Ash515 authored Jan 3, 2021
2 parents aeeacab + bf5340e commit 0699d7f
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .idea/aws.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Voice Assistant.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pyjokes as pyjokes
import pywhatkit
import speech_recognition as sr
import pyttsx3
import datetime
Expand Down Expand Up @@ -391,7 +392,15 @@ def user_mood():
os.startfile('pycharm')
speak("pycharm is open now")

elif 'visual studio code' in statement or 'open code' in statement or 'code' in statement or 'visual code' in statement:
os.startfile('code')
speak('visual studio code is open now')

elif 'on youtube' in statement or 'youtube' in statement:
statement = statement.replace("youtube", "")
pywhatkit.playonyt(statement)
speak('here you are sir!')
time.sleep(120)

elif 'what is my current location' in statement or 'what is my location' in statement or 'where am I' in statement:
ip = "https://api.ipify.org/"
Expand Down
1 change: 1 addition & 0 deletions pywhatkit_dbs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--------------------

0 comments on commit 0699d7f

Please sign in to comment.