mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 17:03:10 +02:00
Merge branch 'master' of https://github.com/syuilo/misskey
This commit is contained in:
commit
b0e8cc3595
2 changed files with 8 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
|||
"@types/body-parser": "0.0.33",
|
||||
"@types/browserify": "12.0.30",
|
||||
"@types/chai": "3.4.34",
|
||||
"@types/chai-http": "0.0.29",
|
||||
"@types/chai-http": "0.0.30",
|
||||
"@types/chalk": "0.4.31",
|
||||
"@types/compression": "0.0.33",
|
||||
"@types/cors": "2.8.0",
|
||||
|
@ -69,7 +69,7 @@
|
|||
"babel-polyfill": "6.22.0",
|
||||
"babel-preset-es2015": "6.22.0",
|
||||
"babel-preset-stage-3": "6.17.0",
|
||||
"bcryptjs": "2.4.0",
|
||||
"bcryptjs": "2.4.3",
|
||||
"body-parser": "1.16.0",
|
||||
"browserify": "14.0.0",
|
||||
"browserify-livescript": "0.2.3",
|
||||
|
|
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue