Скачать бот Либре рабочем столе, ваш личный бот для вашего ПК или Mac
Bot Libre Forum : random remembered

RE: random remembered

по admin опубликовано Dec 27 2017, 18:05

Yes, you can use the "conversation" variable in a template in Self code.
You can also use "speaker" to access the current user's variable.

For the last phrase in the conversation,

conversation.input[-1].input

Set set a variable on the conversation,

conversation.myproperty = "my value";

Or on the speaker,

speaker.myproperty = "my value";


Идентификатор: 20313170
Опубликовано: Dec 27 2017, 18:05
Ответы: 0
Вид: 2217, сегодня: 1, неделю: 4, месяц: 25
0 0 0.0/5