From 88838d4d00d87dfdcb46e9b7a663899a4a3b1e82 Mon Sep 17 00:00:00 2001 From: Gintautas Miselis Date: Thu, 30 Nov 2017 15:53:12 +0000 Subject: [PATCH] Upgraded ws library --- lib/Slackbot_worker.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slackbot_worker.js b/lib/Slackbot_worker.js index b0a586680..9bdf52484 100755 --- a/lib/Slackbot_worker.js +++ b/lib/Slackbot_worker.js @@ -185,7 +185,7 @@ module.exports = function(botkit, config) { pingTimeoutId = setTimeout(pinger, 5000); botkit.trigger('rtm_open', [bot]); - bot.rtm.on('message', function(data, flags) { + bot.rtm.on('message', function(data) { var message = null; try { diff --git a/package.json b/package.json index 85e4d3802..7eea1fc56 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "twilio": "^2.11.1", "vorpal": "^1.12.0", "ware": "^1.3.0", - "ws": "^2.2.2" + "ws": "^3.3.2" }, "devDependencies": { "jest-cli": "^20.0.1",