Minor fixes
This commit is contained in:
parent
9ce776edfa
commit
3b7bdda990
1 changed files with 24 additions and 23 deletions
|
@ -803,6 +803,7 @@ def ai_assist(event: SpeechRecognizedEvent):
|
||||||
hooks = (
|
hooks = (
|
||||||
(re.compile(r"play (the)?music", re.IGNORECASE), play_music),
|
(re.compile(r"play (the)?music", re.IGNORECASE), play_music),
|
||||||
(re.compile(r"stop (the)?music", re.IGNORECASE), stop_music),
|
(re.compile(r"stop (the)?music", re.IGNORECASE), stop_music),
|
||||||
|
# ...
|
||||||
# Fallback to the AI assistant
|
# Fallback to the AI assistant
|
||||||
(re.compile(r".*"), ai_assist),
|
(re.compile(r".*"), ai_assist),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue