This commit is contained in:
syuilo 2017-02-08 22:44:49 +09:00
commit b0e8cc3595
2 changed files with 8 additions and 3 deletions

View file

@ -26,7 +26,7 @@
"@types/body-parser": "0.0.33",
"@types/browserify": "12.0.30",
"@types/chai": "3.4.34",
"@types/chai-http": "0.0.29",
"@types/chai-http": "0.0.30",
"@types/chalk": "0.4.31",
"@types/compression": "0.0.33",
"@types/cors": "2.8.0",
@ -69,7 +69,7 @@
"babel-polyfill": "6.22.0",
"babel-preset-es2015": "6.22.0",
"babel-preset-stage-3": "6.17.0",
"bcryptjs": "2.4.0",
"bcryptjs": "2.4.3",
"body-parser": "1.16.0",
"browserify": "14.0.0",
"browserify-livescript": "0.2.3",

View file

@ -57,9 +57,14 @@ module.exports = async (app: express.Application) => {
post(text);
});
handler.on('started', event => {
const sender = event.payload.sender;
post(`Started by ${sender.login}`);
});
handler.on('fork', event => {
const repo = event.payload.forkee;
post(`Forked:\n${repo.html_url}`);
post(`🍴Forked:\n${repo.html_url}`);
});
handler.on('pull_request', event => {