mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-12-22 20:21:06 +01:00
feat: change format of /github
Closes https://github.com/xHyroM/bun-discord-bot/issues/19
This commit is contained in:
parent
a6affd1b8e
commit
1005636086
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ new Command({
|
|||
}
|
||||
|
||||
return ctx.editResponse([
|
||||
`${formatEmojiStatus(issueOrPR)} [#${issueOrPR.number} ${repositoryOwner}/${repositoryName}](<${issueOrPR.html_url}>) by [${issueOrPR.user_login}](<${issueOrPR.user_html_url}>) ${formatStatus(issueOrPR)}`,
|
||||
`${formatEmojiStatus(issueOrPR)} [#${issueOrPR.number} ${issueOrPR.title.replace(/\[\]/g, '').slice(0, 1500)} ${repositoryOwner}/${repositoryName}](<${issueOrPR.html_url}>) by [${issueOrPR.user_login}](<${issueOrPR.user_html_url}>) ${formatStatus(issueOrPR)}`,
|
||||
issueOrPR.title
|
||||
].join('\n'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue