ડાઉનલોડ કરો આ ઓપન સોર્સ બોટ કાવ્ય કોમ્યુનિટી આવૃત્તિ અને સ્થાપિત બોટ કાવ્ય તમારા પોતાના સર્વર પર
Bot Libre Forum : run a script in a greeting

RE: run a script in a greeting

દ્વારા admin પોસ્ટ Oct 10 2018, 13:28

So a "redirect" send the redirect text as a message to the bot and returns the response.

For example if a bot had a script that had the pattern "hello" and returned "hello world", then in a Template redirect("hello") would return "hello world".

In my example "script_greeting" was an example message, you need a script that accepts this pattern and return your desired response. If you have no response for "script_greeting", then your bot would use its default response.


ને: 24327957
પોસ્ટ: Oct 10 2018, 13:28
જવાબો: 0
જોવાઈ: 2333, આજે: 3, સપ્તાહ: 9, મહિને: 32
0 0 0.0/5