howdyai / botkit

Botkit is an open source developer tool for building chat bots, apps and custom integrations for major messaging platforms.
MIT License
11.44k stars 2.28k forks source link

Inaccurate information in documentation of the conversations in v4 #2129

Closed nikakhachi closed 2 years ago

nikakhachi commented 3 years ago

In the official website of botkit, In the conversation documentation thread of v4 release, there is an inaccurate information provided. https://botkit.ai/docs/v4/conversations.html

The problem is in the example of the threads including cheese topic.

The problem :

in the documentation you see ->

let convo = new BotkitConversation(controller, 'cheese');

this code runs into an error

The solution :

convo name must be the first argument and controller the second.

let convo = new BotkitConversation('cheese', controller);
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

benbrown commented 2 years ago

Fixed! Thanks!

-> https://github.com/howdyai/botkit/blob/main/packages/docs/conversations.md#automatically-switch-threads-using-actions