You've already forked STARK
mirror of
https://github.com/MarkParker5/STARK.git
synced 2025-07-02 22:36:54 +02:00
11 lines
336 B
Python
11 lines
336 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)
|