From da40ff3357f86e4eab41e4fa8fb27e82a2c351a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?syuilo=E2=AD=90=EF=B8=8F?= Date: Tue, 7 Feb 2017 23:52:58 +0900 Subject: [PATCH] Update github.ts --- src/api/service/github.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/api/service/github.ts b/src/api/service/github.ts index 31ca2b278..4a7a9cb26 100644 --- a/src/api/service/github.ts +++ b/src/api/service/github.ts @@ -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 => {