Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/botmasterai/botmaster-fulfill-actions
Standard actions to use in your botmaster outgoing middleware stack.
https://github.com/botmasterai/botmaster-fulfill-actions
Last synced: about 2 months ago
JSON representation
Standard actions to use in your botmaster outgoing middleware stack.
- Host: GitHub
- URL: https://github.com/botmasterai/botmaster-fulfill-actions
- Owner: botmasterai
- License: mit
- Created: 2017-01-19T09:50:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-08T12:26:53.000Z (almost 8 years ago)
- Last Synced: 2024-04-24T19:12:21.518Z (8 months ago)
- Language: JavaScript
- Homepage: http://botmasterai.com/
- Size: 33.2 KB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/botmasterai/botmaster-fulfill-actions.svg?branch=master)](https://travis-ci.org/botmasterai/botmaster-fulfill-actions)
[![Coverage Status](https://coveralls.io/repos/github/botmasterai/botmaster-fulfill-actions/badge.svg?branch=master)](https://coveralls.io/github/botmasterai/botmaster-fulfill-actions?branch=master)# Botmaster actions
Useful actions for botmaster fulfill ).
Enable chatbots to perform actions on Node.js.
Find the documentation at the main botmaster website:
# Reference
## pause
Break text up with a separate messages pausing before each one
```xml
```
evaluated in series
after evaluating all text / xml before removed
controller sends text before and then waits before allowing rest of text/xml to be evaluated
if the bot implements typing a typing status is sent between pauses.**Parameters**
- `wait` {String} how long to wait in ms between each defaults to 1000
## greet
Greet users with a greeting that reflects the time of day
```xml
```
Outputs based on the detected system language
**English (en)**
- between 4 am and 12 pm say "Good morning"
- between 12 pm and 5pm say "Good afternoon"
- between 5 pm and 4am say "Good evening"**Spanish (es)**
- between 4 am and 12 pm say "Buenos dias"
- between 12 pm and 8pm say "Buenas tardes"
- between 8 pm and 4am say "Buenas noches"**Dutch (nl)**
- between 4 am and 12 pm say "Goedemorgen"
- between 12 pm and 6 pm say "Goedemiddag"
- between 6 pm and 12 am say "Goedenavond"
- between 12 am and 4 am say "Goedenacht"**Parameters**
- `tz` **[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Which timezone to use for the time-based greeting. Defaults to GMT. To see available options see
- `lang` **[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Which language to use. Defaults to system locale setting