diff --git a/src/bot/index.js b/src/bot/index.js index 33893aba..ccc31d9a 100644 --- a/src/bot/index.js +++ b/src/bot/index.js @@ -80,12 +80,12 @@ class SuperScript { } // This is like doing a topicRedirect - directReply(userId, topicName, messageString, callback) { + directReply(userId, topicName, messageString, callback, extraScope) { debug.log("[ New DirectReply - '%s']- %s", userId, messageString); const options = { userId, topicName, - extraScope: {}, + extraScope: extraScope || {}, }; this._reply(messageString, options, callback);