Skip to content

Commit 87997f2

Browse files
authored
fix syntax error in conversation docs
1 parent 9ac4025 commit 87997f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/conversations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Developers can create complex conversational systems by combining these message
161161
From inside a prompt handler function, use `convo.gotoThread()` to instantly switch to a different part of the conversation. Botkit can be set to automatically navigate between threads based on user input, such as in the example below.
162162

163163
```javascript
164-
let convo = new BotkitConversation(controller, 'cheese');
164+
let convo = new BotkitConversation('cheese', controller);
165165

166166
// create a path for when a user says YES
167167
convo.addMessage({

0 commit comments

Comments
 (0)