Update github.ts

This commit is contained in:
syuilo⭐️ 2017-02-07 23:52:58 +09:00
parent 43748e0886
commit 2de726199b

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 => {