2023-02-12 19:33:23 +02:00
|
|
|
from VICore import CommandsManager, Response
|
|
|
|
|
|
|
|
|
|
|
|
manager = CommandsManager('smalltalk')
|
|
|
|
|
2023-02-24 06:03:43 +02:00
|
|
|
@manager.new('привет*')
|
|
|
|
def hello():
|
2023-02-12 19:33:23 +02:00
|
|
|
voice = text = 'Привет'
|
|
|
|
return Response(text = text, voice = voice)
|