From 37e071d386698989efc9455cac3e6adf7f74e075 Mon Sep 17 00:00:00 2001 From: Ian Cole Date: Fri, 2 Oct 2015 18:09:38 -0700 Subject: [PATCH 1/4] Update introduction message to be more clear about project list --- scripts/introductions.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/introductions.coffee b/scripts/introductions.coffee index dfb3707..b159b24 100644 --- a/scripts/introductions.coffee +++ b/scripts/introductions.coffee @@ -16,7 +16,10 @@ module.exports = (robot) -> 'My name is Butler, and I try to make it easier for everyone to find what they\'re looking for.', 'You can ask me things like:', '- Are there any projects that need <phrase>?', + 'To list projects from a channel you can say:', '- butler list projects', + 'Or DM me directly:', + '- list projects', '\n', 'For now, you should introduce yourself in the <#' + channelID + '> channel and browse some of our projects!' ].join('\n') From f1f6fa450ffacc0676fe111cc4c26ae0247198c2 Mon Sep 17 00:00:00 2001 From: Ian Cole Date: Fri, 2 Oct 2015 18:23:11 -0700 Subject: [PATCH 2/4] Show introduction on request --- scripts/introductions.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/introductions.coffee b/scripts/introductions.coffee index b159b24..c384b3f 100644 --- a/scripts/introductions.coffee +++ b/scripts/introductions.coffee @@ -33,6 +33,9 @@ module.exports = (robot) -> robot.send {room: user.name}, getWelcomeMessage(introChannel.id) , SAFE_TTL + robot.respond /show introduction/i, (msg) -> + introChannel = robot.adapter.client.getChannelByName('introduction') + msg.send getWelcomeMessage(introChannel.id) # # robot.respond /(.*?)/g, (res) -> # if res.message.user.name == res.message.user.room From 32e39d73f8326dc015a6b9dc7d18ff25e436365c Mon Sep 17 00:00:00 2001 From: Ian Cole Date: Fri, 2 Oct 2015 18:28:56 -0700 Subject: [PATCH 3/4] Change to 'show welcome' to reshow welcome message --- scripts/introductions.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/introductions.coffee b/scripts/introductions.coffee index c384b3f..db938a6 100644 --- a/scripts/introductions.coffee +++ b/scripts/introductions.coffee @@ -33,7 +33,7 @@ module.exports = (robot) -> robot.send {room: user.name}, getWelcomeMessage(introChannel.id) , SAFE_TTL - robot.respond /show introduction/i, (msg) -> + robot.respond /show welcome/i, (msg) -> introChannel = robot.adapter.client.getChannelByName('introduction') msg.send getWelcomeMessage(introChannel.id) # From 2fd91884cf634ea5bd24240f95bd4ea42f93e670 Mon Sep 17 00:00:00 2001 From: Brian Stack Date: Sat, 12 Dec 2015 12:42:25 -0500 Subject: [PATCH 4/4] Update heroku addons command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d171331..77b4180 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,7 @@ Where `` is the name of your adapter without the `hubot-` prefix. If your Heroku account has been verified you can run the following to enable and add the Redis to Go addon to your app. - % heroku addons:add redistogo:nano + % heroku addons:create redistogo:nano If you run into any problems, checkout Heroku's [docs][heroku-node-docs].