summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-08 22:44:49 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-08 22:44:49 +0900
commitb0e8cc3595d3a84cc87da5a9079332370499aed3 (patch)
tree5ab3c48d389dc518af2d78d583098aab63a8d092 /src/api
parentSHA256にした (diff)
parentMerge pull request #131 from syuilo/greenkeeper/@types/chai-http-0.0.30 (diff)
downloadsharkey-b0e8cc3595d3a84cc87da5a9079332370499aed3.tar.gz
sharkey-b0e8cc3595d3a84cc87da5a9079332370499aed3.tar.bz2
sharkey-b0e8cc3595d3a84cc87da5a9079332370499aed3.zip
Merge branch 'master' of https://github.com/syuilo/misskey
Diffstat (limited to 'src/api')
-rw-r--r--src/api/service/github.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/api/service/github.ts b/src/api/service/github.ts
index 31ca2b2786..4a7a9cb26f 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 => {