你知道机器人自由还提供了免费举办 论坛 为自己的网站或移动应用程序?
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, 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;
}


Id: 26024701
发布: Feb 26, 10:24
更新: Feb 26, 10:26
答复: 0
的风景: 211, 今天: 1, 周: 1, 一个月: 8
我敢肯定
标志后的进攻,或者在违反规则网站