Обновление Platinum сервис и сделать свой собственный дизайн 3D аватар
Bot Libre Forum : how to make a chatbot that gets annoyed at a user

RE: how to make a chatbot that gets annoyed at a user

по admin опубликовано Feb 26 2019, 10:24

You can do this with a Self script. You would need to check the difference between the current and previous input.

Something like,

if (Date.difference(conversation.input[-2].getCreationDate(), input.getCreationDate(), #millisecond) > 5000) {
    return "I'm glad your back, I thought you left.";
} else {
    return null;
}


Идентификатор: 26024701
Опубликовано: Feb 26 2019, 10:24
Обновлено: Feb 26 2019, 10:26
Ответы: 0
Вид: 2061, сегодня: 1, неделю: 3, месяц: 15
0 0 0.0/5