You've already forked STARK
mirror of
https://github.com/MarkParker5/STARK.git
synced 2025-07-12 22:50:22 +02:00
Partially new flow. Remove Callback, create CommandsManager, create Core
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
from .SmartHome import *
|
||||
from ..Command import Response, Command
|
||||
from ArchieCore import Response, Command
|
||||
import Text2Speech
|
||||
import os
|
||||
################################################################################
|
||||
@ -19,7 +19,6 @@ def method(params):
|
||||
Text2Speech.Engine().generate(voice).speak()
|
||||
return Response(text = text, voice = voice)
|
||||
|
||||
keywords = {}
|
||||
patterns = []
|
||||
alarmclock = SmartHome('alarmclock', keywords, patterns)
|
||||
alarmclock = SmartHome('alarmclock', patterns)
|
||||
alarmclock.setStart(method)
|
||||
|
Reference in New Issue
Block a user