Skip to content

Commit e6719f1

Browse files
authored
Merge pull request #33 from JoinColony/maint/discord-update
Update hubot-discord
2 parents 47b3b99 + 5799b87 commit e6719f1

File tree

5 files changed

+3107
-3236
lines changed

5 files changed

+3107
-3236
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM gcr.io/google_appengine/nodejs
22

3-
RUN /usr/local/bin/install_node '14.18.1'
3+
#RUN /usr/local/bin/install_node '14.18.1'
4+
RUN /usr/local/bin/install_node '16.16.0'
5+
46
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
57
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
68
RUN apt-get update && apt-get install -y google-cloud-sdk kubectl jq

external-scripts.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[
22
"hubot-diagnostics",
33
"hubot-help",
4-
"hubot-redis-brain",
5-
"hubot-slack-reaction"
4+
"hubot-redis-brain"
65
]

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@
2525
"githubot": "^1.0.1",
2626
"hubot": "^3.3.2",
2727
"hubot-diagnostics": "0.0.2",
28-
"hubot-discobot": "^1.0.4",
28+
"hubot-discobot": "^1.0.7",
2929
"hubot-help": "^0.2.2",
3030
"hubot-redis-brain": "^0.0.4",
31-
"hubot-slack": "^4.5.3",
32-
"hubot-slack-reaction": "^0.0.4",
3331
"lodash": "^4.17.21",
3432
"moment-timezone": "^0.5.34",
3533
"node-fetch": "^2.6.6",

scripts/bsg.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ const { isChannel, isPrivateDiscordMessage } = require('./utils/channels');
22
module.exports = function(robot) {
33

44
robot.hear(/Chewie, what do you hear\?/, async (res) => {
5-
if (res.message.user.id !='273398423787536384') return
6-
res.robot.adapter.send(res.envelope, 'Nothing but the rain.');
5+
if (res.message.user.id !='994244548010197132') return
6+
res.robot.adapter.send(res.envelope, 'Nothing but the rain.');
77
})
88

99
}

0 commit comments

Comments
 (0)