diff --git a/packages/docs/advanced.md b/packages/docs/advanced.md index 8337382e5..ac93bb50a 100644 --- a/packages/docs/advanced.md +++ b/packages/docs/advanced.md @@ -168,7 +168,7 @@ convo.after(async(results, bot) => { controller.addDialog(convo); controller.hears('tacos', 'direct_message', async(bot, message) => { - await bot.beginDialog(convo); + await bot.beginDialog('tacos'); }); ``` @@ -268,4 +268,4 @@ coming ## How to build a new adapter -coming \ No newline at end of file +coming