升级到我们的 Platinum 服务并让我们建立您的机器人给你
Self, AIML, and scripting

Date and time post within Twitter

通过 Chatbot_Kevin 发布 May 30 2017, 21:34

What is the easiest path to produce posts that include date and time within Twitter, with and without text?

I'm very new to this, and do not write code, but would like to learn. Thank you!


by admin posted May 31 2017, 7:02
You can use a Template for this. A Template lets you include code inside a response or auto post.

i.e.
Template("Today is {Date.date()}, and the time is {Date.time()}.")

The code inside the {} is "Self" code, which is a dialect of JavaScript.
See,
https://www.botlibre.com/manual-self.jsp

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1285, today: 0, week: 0, month: 48

Id: 17406460
发布: May 30 2017, 21:34
答复: 1
的风景: 1255, 今天: 1, 周: 1, 一个月: 40
我敢肯定
标志后的进攻,或者在违反规则网站