Compare commits
14 Commits
drmorale-b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa145a42ec | ||
|
|
2d98618a49 | ||
|
|
f04f3ce832 | ||
|
|
f213ee24da | ||
|
|
4db6a4a019 | ||
|
|
a2fdc9a92f | ||
|
|
3c42e3d62b | ||
|
|
ec643b4d73 | ||
|
|
5cf72ac8ef | ||
|
|
27c668e405 | ||
|
|
099101897d | ||
|
|
0c5e87b5f6 | ||
|
|
7ef4ab503a | ||
|
|
d2bcc81fc6 |
5
app.json
5
app.json
@@ -55,11 +55,6 @@
|
|||||||
"description": "Set to `debug` to enable detailed debug logging.",
|
"description": "Set to `debug` to enable detailed debug logging.",
|
||||||
"required": false
|
"required": false
|
||||||
},
|
},
|
||||||
"HUBOT_HEROKU_KEEPALIVE_URL": {
|
|
||||||
"value": "https://YOUR_BOT_APP.herokuapp.com",
|
|
||||||
"description": "Set to use the subdomain of this bot to keep it awake",
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"BUILDPACK_URL": {
|
"BUILDPACK_URL": {
|
||||||
"value": "https://github.com/heroku/heroku-buildpack-nodejs",
|
"value": "https://github.com/heroku/heroku-buildpack-nodejs",
|
||||||
"description": "Only change this if you are sure you need to.",
|
"description": "Only change this if you are sure you need to.",
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
npm install
|
|
||||||
export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH"
|
export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH"
|
||||||
|
|
||||||
exec node_modules/.bin/hubot --name "triatomic" "$@"
|
exec node_modules/.bin/hubot --name "triatomic" "$@"
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
[
|
[
|
||||||
"hubot-diagnostics",
|
"hubot-diagnostics",
|
||||||
"hubot-help",
|
"hubot-help",
|
||||||
"hubot-heroku-keepalive",
|
|
||||||
"hubot-google-images",
|
"hubot-google-images",
|
||||||
"hubot-google-translate",
|
"hubot-google-translate",
|
||||||
"hubot-pugme",
|
"hubot-pugme",
|
||||||
@@ -17,5 +16,6 @@
|
|||||||
"hubot-thesimpsons",
|
"hubot-thesimpsons",
|
||||||
"hubot-voting",
|
"hubot-voting",
|
||||||
"hubot-cron",
|
"hubot-cron",
|
||||||
"hubot-browserstack"
|
"hubot-browserstack",
|
||||||
|
"hubot-dogeme"
|
||||||
]
|
]
|
||||||
|
|||||||
40
package.json
40
package.json
@@ -5,36 +5,36 @@
|
|||||||
"author": "Bob Bergman <rbergman@atlassian.com>",
|
"author": "Bob Bergman <rbergman@atlassian.com>",
|
||||||
"description": "A simple helpful robot for your Company",
|
"description": "A simple helpful robot for your Company",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"cheerio": "~1.0.0-rc.2",
|
||||||
|
"chrono-node": "~1.3.5",
|
||||||
"cron": "^1.0.9",
|
"cron": "^1.0.9",
|
||||||
"time": "^0.11.3",
|
"hubot": "^2.18.0",
|
||||||
"hubot": "^2.12.0",
|
"hubot-ambush": "0.0.3",
|
||||||
|
"hubot-browserstack": "~0.1.6",
|
||||||
"hubot-business-cat": "^1.1.19",
|
"hubot-business-cat": "^1.1.19",
|
||||||
"hubot-diagnostics": "0.0.1",
|
"hubot-cron": "~0.2.9",
|
||||||
"hubot-google-images": "^0.1.4",
|
"hubot-diagnostics": "0.0.2",
|
||||||
"hubot-google-translate": "^0.1.0",
|
"hubot-dogeme": "^1.0.0",
|
||||||
"hubot-help": "^0.1.1",
|
"hubot-google-images": "^0.2.6",
|
||||||
"hubot-heroku-keepalive": "0.0.4",
|
"hubot-google-translate": "^0.2.1",
|
||||||
|
"hubot-help": "^0.2.2",
|
||||||
"hubot-hipchat": "^2.12.0-2",
|
"hubot-hipchat": "^2.12.0-2",
|
||||||
"hubot-maps": "0.0.2",
|
"hubot-maps": "0.0.3",
|
||||||
"hubot-pugme": "^0.1.0",
|
"hubot-pugme": "^0.1.0",
|
||||||
"hubot-redis-brain": "0.0.2",
|
"hubot-redis-brain": "0.0.4",
|
||||||
"hubot-rules": "^0.1.0",
|
"hubot-rules": "^0.1.0",
|
||||||
"hubot-scripts": "^2.5.16",
|
"hubot-scripts": "^2.5.16",
|
||||||
"hubot-shipit": "^0.2.0",
|
"hubot-shipit": "^0.2.0",
|
||||||
"hubot-victory": "^1.3.0",
|
|
||||||
"hubot-youtube": "^0.1.2",
|
|
||||||
"hubot-ambush": "0.0.3",
|
|
||||||
"hubot-status": "0.0.2",
|
"hubot-status": "0.0.2",
|
||||||
"hubot-thesimpsons": "~1.1.3",
|
"hubot-thesimpsons": "~1.1.3",
|
||||||
|
"hubot-victory": "^1.3.0",
|
||||||
"hubot-voting": "~1.0.0",
|
"hubot-voting": "~1.0.0",
|
||||||
"hubot-cron": "~0.2.9",
|
"hubot-youtube": "^1.0.2",
|
||||||
"hubot-browserstack": "~0.1.6",
|
"lodash": "~4.17.4",
|
||||||
"chrono-node": "~1.0.6",
|
"moment": "~2.20.1",
|
||||||
"lodash": "~3.9.3",
|
"time": "^0.12.0"
|
||||||
"moment": "~2.10.3",
|
|
||||||
"cheerio": "~0.19.0"
|
|
||||||
},
|
},
|
||||||
"engines": {
|
"scripts": {
|
||||||
"node": "0.10.x"
|
"start-hubot-hipchat": "hubot --name \"GalBot\" --adapter hipchat"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ module.exports = (robot) ->
|
|||||||
# lulz = ['lol', 'rofl', 'lmao']
|
# lulz = ['lol', 'rofl', 'lmao']
|
||||||
#
|
#
|
||||||
robot.hear /(jerbs|jerb)/i, (res) ->
|
robot.hear /(jerbs|jerb)/i, (res) ->
|
||||||
res.send "http://www.edugeek.net/attachments/forums/general-chat/32142d1442315624-will-robot-take-your-job-bbc-news-humans_jerbs.jpg"
|
res.send "http://i2.kym-cdn.com/photos/images/original/000/262/320/021.gif"
|
||||||
robot.respond /dance/i, (res) ->
|
robot.respond /dance/i, (res) ->
|
||||||
res.send "http://tparnell.blob.core.windows.net/hubot/imageedit_6_9390856511.gif"
|
res.send "http://tparnell.blob.core.windows.net/hubot/imageedit_6_9390856511.gif"
|
||||||
|
|
||||||
@@ -58,6 +58,11 @@ module.exports = (robot) ->
|
|||||||
robot.respond /no/i, (res) ->
|
robot.respond /no/i, (res) ->
|
||||||
res.send "http://tparnell.blob.core.windows.net/hubot/vxkeb.gif"
|
res.send "http://tparnell.blob.core.windows.net/hubot/vxkeb.gif"
|
||||||
|
|
||||||
|
robot.respond /deployment/i, (res) ->
|
||||||
|
res.sent "https://vbujenkins.vistaprint.net/view/Gallery/view/Gallery5%20prod%20deployment/"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# robot.topic (res) ->
|
# robot.topic (res) ->
|
||||||
# res.send "#{res.message.text}? That's a Paddlin'"
|
# res.send "#{res.message.text}? That's a Paddlin'"
|
||||||
|
|||||||
3
scripts/livecheck.coffee
Normal file
3
scripts/livecheck.coffee
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
module.exports = (robot) ->
|
||||||
|
robot.router.get '/livecheck', (req, res) ->
|
||||||
|
res.send 'ok'
|
||||||
6
scripts/wholehog.coffee
Normal file
6
scripts/wholehog.coffee
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
module.exports = (robot) ->
|
||||||
|
robot.router.get '/wholehog', (req, res) ->
|
||||||
|
robot.messageRoom "226_gallery_testing@conf.hipchat.com", "https://tparnell.blob.core.windows.net/hubot/hqdefault.jpg"
|
||||||
|
res.send 'OK'
|
||||||
|
robot.respond /whole hog/i, (res) ->
|
||||||
|
res.send "https://tparnell.blob.core.windows.net/hubot/hqdefault.jpg"
|
||||||
Reference in New Issue
Block a user