MCPcopy Create free account
hub / github.com/EverythingSuckz/github-telegram-notify / createIssueCommentText

Function createIssueCommentText

utils/parser.go:132–141  ·  view source on GitHub ↗
(event *types.IssueCommentEvent)

Source from the content-addressed store, hash-verified

130}
131
132func createIssueCommentText(event *types.IssueCommentEvent) string {
133 return fmt.Sprintf("🗣 <a href='%s'>%s</a> commented on issue <a href='%s'>%s</a> in <a href='%s'>%s</a>",
134 event.Sender.HTMLURL,
135 event.Sender.Login,
136 event.Issue.HTMLURL,
137 html.EscapeString(event.Issue.Title),
138 event.Repo.HTMLURL,
139 event.Repo.FullName,
140 )
141}
142
143func createIssuesText(event *types.IssuesEvent) string {
144 return fmt.Sprintf("🐛 <a href='%s'>%s</a> %s issue <a href='%s'>%s</a> in <a href='%s'>%s</a>",

Callers 1

CreateContentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected