From b538ac491d87cbc22e33a158ff89a512e4a8b0a2 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Sun, 26 Mar 2017 21:34:04 +0900 Subject: [PATCH] Update github.ts --- src/api/service/github.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/service/github.ts b/src/api/service/github.ts index b2e7cbfd6..6394e83d7 100644 --- a/src/api/service/github.ts +++ b/src/api/service/github.ts @@ -85,9 +85,9 @@ module.exports = async (app: express.Application) => { const action = event.action; let title: string; switch (action) { - case 'opened': title = 'New Issue'; break; - case 'closed': title = 'Issue Closed'; break; - case 'reopened': title = 'Issue Reopened'; break; + case 'opened': title = 'Issue opened'; break; + case 'closed': title = 'Issue closed'; break; + case 'reopened': title = 'Issue reopened'; break; default: return; } post(`${title}: <${issue.number}>「${issue.title}」\n${issue.html_url}`); @@ -107,12 +107,12 @@ module.exports = async (app: express.Application) => { handler.on('watch', event => { const sender = event.sender; - post(`⭐️Starred by **${sender.login}**`); + post(`Starred by **${sender.login}**`); }); handler.on('fork', event => { const repo = event.forkee; - post(`🍴Forked:\n${repo.html_url}`); + post(`Forked:\n${repo.html_url}`); }); handler.on('pull_request', event => {