Compare commits
16 Commits
drmorale-b
...
slack
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
004e5b87ac | ||
|
|
73653511e6 | ||
|
|
fa145a42ec | ||
|
|
2d98618a49 | ||
|
|
f04f3ce832 | ||
|
|
f213ee24da | ||
|
|
4db6a4a019 | ||
|
|
a2fdc9a92f | ||
|
|
3c42e3d62b | ||
|
|
ec643b4d73 | ||
|
|
5cf72ac8ef | ||
|
|
27c668e405 | ||
|
|
099101897d | ||
|
|
0c5e87b5f6 | ||
|
|
7ef4ab503a | ||
|
|
d2bcc81fc6 |
@@ -189,4 +189,4 @@ you're having issues.
|
||||
|
||||
## Thanks
|
||||
|
||||
Special thanks to [Robohash](http://robohash.org) for the sweet logo :)
|
||||
Special thanks to [Robohash](http://robohash.org) for the sweet logo :)
|
||||
5
app.json
5
app.json
@@ -55,11 +55,6 @@
|
||||
"description": "Set to `debug` to enable detailed debug logging.",
|
||||
"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": {
|
||||
"value": "https://github.com/heroku/heroku-buildpack-nodejs",
|
||||
"description": "Only change this if you are sure you need to.",
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
npm install
|
||||
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-help",
|
||||
"hubot-heroku-keepalive",
|
||||
"hubot-google-images",
|
||||
"hubot-google-translate",
|
||||
"hubot-pugme",
|
||||
@@ -17,5 +16,6 @@
|
||||
"hubot-thesimpsons",
|
||||
"hubot-voting",
|
||||
"hubot-cron",
|
||||
"hubot-browserstack"
|
||||
"hubot-browserstack",
|
||||
"hubot-dogeme"
|
||||
]
|
||||
|
||||
42
package.json
42
package.json
@@ -5,36 +5,38 @@
|
||||
"author": "Bob Bergman <rbergman@atlassian.com>",
|
||||
"description": "A simple helpful robot for your Company",
|
||||
"dependencies": {
|
||||
"cheerio": "~1.0.0-rc.2",
|
||||
"chrono-node": "~1.3.5",
|
||||
"cron": "^1.0.9",
|
||||
"time": "^0.11.3",
|
||||
"hubot": "^2.12.0",
|
||||
"hubot": "^2.18.0",
|
||||
"hubot-ambush": "0.0.3",
|
||||
"hubot-browserstack": "~0.1.6",
|
||||
"hubot-business-cat": "^1.1.19",
|
||||
"hubot-diagnostics": "0.0.1",
|
||||
"hubot-google-images": "^0.1.4",
|
||||
"hubot-google-translate": "^0.1.0",
|
||||
"hubot-help": "^0.1.1",
|
||||
"hubot-heroku-keepalive": "0.0.4",
|
||||
"hubot-cron": "~0.2.9",
|
||||
"hubot-diagnostics": "0.0.2",
|
||||
"hubot-dogeme": "^1.0.0",
|
||||
"hubot-google-images": "^0.2.6",
|
||||
"hubot-google-translate": "^0.2.1",
|
||||
"hubot-help": "^0.2.2",
|
||||
"hubot-hipchat": "^2.12.0-2",
|
||||
"hubot-maps": "0.0.2",
|
||||
"hubot-maps": "0.0.3",
|
||||
"hubot-pugme": "^0.1.0",
|
||||
"hubot-redis-brain": "0.0.2",
|
||||
"hubot-redis-brain": "0.0.4",
|
||||
"hubot-rules": "^0.1.0",
|
||||
"hubot-scripts": "^2.5.16",
|
||||
"hubot-shipit": "^0.2.0",
|
||||
"hubot-victory": "^1.3.0",
|
||||
"hubot-youtube": "^0.1.2",
|
||||
"hubot-ambush": "0.0.3",
|
||||
"hubot-slack": "^4.5.0",
|
||||
"hubot-status": "0.0.2",
|
||||
"hubot-thesimpsons": "~1.1.3",
|
||||
"hubot-victory": "^1.3.0",
|
||||
"hubot-voting": "~1.0.0",
|
||||
"hubot-cron": "~0.2.9",
|
||||
"hubot-browserstack": "~0.1.6",
|
||||
"chrono-node": "~1.0.6",
|
||||
"lodash": "~3.9.3",
|
||||
"moment": "~2.10.3",
|
||||
"cheerio": "~0.19.0"
|
||||
"hubot-youtube": "^1.0.2",
|
||||
"lodash": "~4.17.4",
|
||||
"moment": "~2.20.1",
|
||||
"time": "^0.12.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "0.10.x"
|
||||
"scripts": {
|
||||
"start-hubot-hipchat": "hubot --name \"GalBot\" --adapter hipchat",
|
||||
"start-hubot-slack": "hubot --adapter slack"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ module.exports = (robot) ->
|
||||
# lulz = ['lol', 'rofl', 'lmao']
|
||||
#
|
||||
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) ->
|
||||
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) ->
|
||||
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) ->
|
||||
# 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