Remove Claude Code footer from Discord PR messages #22
|
|
@ -112,7 +112,9 @@ class PRHandler {
|
|||
}
|
||||
|
||||
static formatPrBody(pullRequest: Gitea.PullRequest, repositoryFullName: string): string {
|
||||
const body = pullRequest.body || "_empty_"
|
||||
const body = (pullRequest.body || "_empty_")
|
||||
.replace(/\n*🤖 Generated with \[Claude Code\].*$/s, "")
|
||||
.trim() || "_empty_"
|
||||
let message = `
|
||||
> ### [${pullRequest.title}](<${pullRequest.html_url}>)
|
||||
> **${repositoryFullName}**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user