From d1128d4d802370662da770ff9a71b0536f36f62a Mon Sep 17 00:00:00 2001
From: Shaun Burdick <github@shaunburdick.com>
Date: Sun, 29 May 2016 10:55:58 -0400
Subject: [PATCH] Added new footer to response

---
 lib/bot.js   | 2 ++
 package.json | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/bot.js b/lib/bot.js
index 1962253..54a239a 100644
--- a/lib/bot.js
+++ b/lib/bot.js
@@ -5,6 +5,7 @@ const Botkit = require('botkit');
 const moment = require('moment');
 const J2S = require('jira2slack');
 const logger = require('./logger')();
+const PACKAGE = require('../package');
 
 const RESPONSE_FULL = 'full';
 
@@ -66,6 +67,7 @@ class Bot {
     response.pretext = `Here is some information on ${issue.key}`;
     response.title = issue.fields.summary;
     response.title_link = this.buildIssueLink(issue.key);
+    response.footer = `Slack Jira ${PACKAGE.version} - ${PACKAGE.homepage}`;
     response.fields = [];
     if (format === RESPONSE_FULL) {
       response.fields.push({
diff --git a/package.json b/package.json
index 9072339..9ff0352 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "slack-jirabot",
-  "version": "2.3.1",
+  "version": "2.3.2",
   "description": "Slackbot for interacting with JIRA",
   "main": "app.js",
   "private": true,
@@ -22,9 +22,9 @@
     "node": "^4.0.0"
   },
   "dependencies": {
-    "botkit": "^0.1.1",
+    "botkit": "^0.2.0",
     "jira-client": "^3.0.2",
-    "jira2slack": "^0.1.0",
+    "jira2slack": "^1.0.0",
     "moment": "^2.10.3",
     "redact-object": "^1.0.1",
     "winston": "^2.1.1"