| 130 | } |
| 131 | |
| 132 | func 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 | |
| 143 | func 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>", |