Skip to content

Commit

Permalink
🥁 Add Alexa template builder
Browse files Browse the repository at this point in the history
  • Loading branch information
stojanovic committed Mar 7, 2017
1 parent a14843e commit 183d75e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ For the details see:
- [Slack Delayed reply documentation](SLACK_DELAYED_REPLY_BUILDER.md)
- [Telegram custom messages documentation](TELEGRAM_CUSTOM_MESSAGES.md)
- [Viber custom messages documentation](VIBER_CUSTOM_MESSAGES.md)
- [Alexa custom messages documentation](https://github.com/stojanovic/alexa-message-builder#documentation), external link, because Claudia Bot Builder is using [Alexa Message Builder module](https://www.npmjs.com/package/alexa-message-builder) for Alexa custom messages.

### Synchronous replies

Expand Down
2 changes: 2 additions & 0 deletions lib/bot-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const slackTemplate = require('./slack/format-message');
const telegramTemplate = require('./telegram/format-message');
const viberTemplate = require('./viber/format-message');
const skypeTemplate = require('./skype/format-message');
const AlexaTemplate = require('alexa-message-builder');
const slackDelayedReply = require('./slack/delayed-reply');

let logError = function (err) {
Expand Down Expand Up @@ -75,4 +76,5 @@ module.exports.slackTemplate = slackTemplate;
module.exports.telegramTemplate = telegramTemplate;
module.exports.viberTemplate = viberTemplate;
module.exports.skypeTemplate = skypeTemplate;
module.exports.AlexaTemplate = AlexaTemplate;
module.exports.slackDelayedReply = slackDelayedReply;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
],
"license": "MIT",
"dependencies": {
"alexa-message-builder": "^1.1.0",
"claudia-api-builder": "^2.0.1",
"minimal-request-promise": "^1.3.0",
"oh-no-i-insist": "^1.0.0",
Expand Down

0 comments on commit 183d75e

Please sign in to comment.