Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

README updates #2

Merged
merged 1 commit into from
Apr 18, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

# Broid Kit Botpress

**Broid Kit Botpress** is one of the [broid-kit](https://github.com/broidHQ/broid-kit) middlewares to integrate [botpress](https://github.com/botpress/botpress) with [Broid Integrations](https://github.com/broidHQ/integrations/) which allows you to leverage the largest collection of messaging channels integrated in a given framework.
**Broid Kit Botpress** is a [broid-kit](https://github.com/broidHQ/broid-kit) middlewares that integrates [botpress](https://github.com/botpress/botpress) with [Broid Integrations](https://github.com/broidHQ/integrations/) which allows you to leverage the largest collection of messaging channels integrated in a single framework.

This middleware support `Incoming` and `Outcoming` messages.

Expand Down Expand Up @@ -64,20 +64,20 @@ bot.use(new BroidKitBotpress({
}));

// Listening for public starting by `hello`
bot.hear("hello.*", "Group")
.subscribe((data) => {
console.log("Data:", JSON.stringify(data, null, 2));
bot.hear("hello.*", "Group")
.subscribe((data) => {
console.log("Data:", JSON.stringify(data, null, 2));

// Reply to the message
bot.sendText("Hi, How are you?", data.raw);
});
```
// Reply to the message
bot.sendText("Hi, How are you?", data.raw);
});
```

# Documentation

## Quick Start

1. Create a new node projects
1. Create a new node project

```bash
$ npm init
Expand All @@ -89,7 +89,7 @@ $ npm init
$ npm -g i botpress
$ mkdir botpress && cd botpress && botpress init
```
take a coffee ;)
Take a coffee ;)

3. Install **broid-kit**

Expand Down