mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-02-03 21:30:20 -07:00
✌️
This commit is contained in:
parent
98d4a72076
commit
d7c942395b
1 changed files with 1 additions and 2 deletions
|
@ -37,8 +37,7 @@ module.exports = async (app: express.Application) => {
|
||||||
const compare = event.compare;
|
const compare = event.compare;
|
||||||
const commits = event.commits;
|
const commits = event.commits;
|
||||||
post([
|
post([
|
||||||
`Pushed by **${pusher.name}** with ${commits.length} commit${commits.length > 1 ? 's' : ''}: ?[Compare Changes](${compare})`,
|
`Pushed by **${pusher.name}** with ?[${commits.length} commit${commits.length > 1 ? 's' : ''}](${compare}):`,
|
||||||
'',
|
|
||||||
commits.map(commit => `・?[${commit.message.split('\n')[0]}](${commit.url})`).join('\n'),
|
commits.map(commit => `・?[${commit.message.split('\n')[0]}](${commit.url})`).join('\n'),
|
||||||
].join('\n'));
|
].join('\n'));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue