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

Full example #6

Closed
wants to merge 3 commits into from
Closed

Full example #6

wants to merge 3 commits into from

Conversation

killix
Copy link
Collaborator

@killix killix commented Jul 30, 2017

Fix #5

@killix killix self-assigned this Jul 30, 2017
type: 'message',
text: 'hello world'
}, (event, next) => {
console.log("HERE RECEUVED");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somewhere here I want to see reply function call (or something like that), which will pass data back to broid-kit

Copy link
Contributor

@lesyk lesyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@killix: basicaly when you use broid-kit, you need to handle the send process on broid-kit side and not botpress. The reason is because the credentials is pass via broid- librairies and not in botpress.

that was clear, what is unclear - is how to send message from botpress to broid-kit?
in the end it should work in next manner:

slack message -> broid (needed intergation catches it) -> botpress (where all chat logic is) (does bussiness logic and takes needed results and passes back to broid) -> broid (takes reply from botpress and sends to needed chat) -> slack
am I thinking in the right way?

@killix killix closed this Mar 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Something went wrong: event.reply is not a function
2 participants