1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2024-12-09 09:27:56 +02:00
STARK/majordom_va/features/smalltalk.py
MarkParker5 94ec8b40fd
improve parameters
map nested objects
replace dict
2023-02-24 05:03:43 +01:00

9 lines
211 B
Python

from VICore import CommandsManager, Response
manager = CommandsManager('smalltalk')
@manager.new('привет*')
def hello():
voice = text = 'Привет'
return Response(text = text, voice = voice)