1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2025-07-02 22:36:54 +02:00
Files
STARK/Features/SmallTalk/hello.py

11 lines
338 B
Python
Raw Normal View History

from .SmallTalk import *
from ..Command import Response
################################################################################
def method(params):
voice = text = 'Привет'
return Response(text = text, voice = voice)
patterns = ['* привет* *',]
hello = SmallTalk('Hello', {}, patterns)
hello.setStart(method)