Included 4th request by cclauss and fixed bugs

now its easier to use commands without arguments
This commit is contained in:
TallGorilla committed 2021-10-07 20:47:16 +02:00
1 parent 38b70f4d22
commit f2305ab685
4 files changed
+22 -29

No files matched your search

+4 -4
View File
@@ -91,7 +91,7 @@ def command_bye():
sys.exit()
def command_playMusic():
def command_play_music():
try:
music_folder = config['DEFAULT']['musicPath']
music = ("music1", "music2", "music3", "music4")
@@ -103,13 +103,13 @@ def command_playMusic():
speak(e)
def command_pauseMusic():
def command_pause_music():
mixer.music.pause()
def command_stopMusic():
def command_stop_music():
mixer.music.stop()
def command_unpauseMusic():
def command_unpause_music():
mixer.music.unpause()