Знаете ли вы, бот Либре также обеспечивает бесплатные размещенные чат на свой сайт или мобильное приложение?
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: 2566, today: 1, week: 2, month: 4

Идентификатор: 17406460
Опубликовано: May 30 2017, 21:34
Ответы: 1
Вид: 2353, сегодня: 1, неделю: 3, месяц: 9
0 0 0.0/5