From 2de726199be542128f47677632043db779e1ef24 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 => {