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
2021-08-22 17:24:30 +03:00

11 lines
338 B
Python

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)