From 45f3681e3adc5f92d25177db36c0df789b13d818 Mon Sep 17 00:00:00 2001 From: Sean Date: Tue, 25 Oct 2016 15:07:29 -0400 Subject: [PATCH] Make createConversation callable on facebook bot instance --- lib/Facebook.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Facebook.js b/lib/Facebook.js index bd28f3ae3..3b9a21b1c 100644 --- a/lib/Facebook.js +++ b/lib/Facebook.js @@ -23,6 +23,9 @@ function Facebookbot(configuration) { botkit.startConversation(this, message, cb); }; + bot.createConversation = function(message, cb) { + botkit.createConversation(this, message, cb); + }; bot.send = function(message, cb) {