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

View File

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