You've already forked STARK
mirror of
https://github.com/MarkParker5/STARK.git
synced 2025-07-02 22:36:54 +02:00
14 lines
350 B
Python
14 lines
350 B
Python
![]() |
from .SmallTalk import *
|
||
|
################################################################################
|
||
|
def method(params):
|
||
|
voice = text = 'Привет'
|
||
|
return {
|
||
|
'type': 'simple',
|
||
|
'text': text,
|
||
|
'voice': voice,
|
||
|
}
|
||
|
|
||
|
patterns = ['* привет* *',]
|
||
|
hello = SmallTalk('Hello', {}, patterns)
|
||
|
hello.setStart(method)
|