- Include issue's title when  a comment is added
This commit is contained in:
Tristan B. Velloza Kildaire 2023-07-09 14:42:44 +02:00
parent 6d1ef81793
commit 4799001074
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ void issueHandler(HTTPServerRequest request, HTTPServerResponse response)
string username = userBlock["username"].str();
//TODO: Add IRC error handling
string ircMessage = bold("["~repositoryName~"]")~" "~setForeground(SimpleColor.GREEN)~"New comment"~resetForegroundBackground()~" '"~italics(commentBody)~"' by "~italics(username)~" on issue "~bold("#"~to!(string)(issueID))~" ["~underline(issueURL)~"]";
string ircMessage = bold("["~repositoryName~"]")~" "~setForeground(SimpleColor.GREEN)~"New comment"~resetForegroundBackground()~" '"~italics(commentBody)~"' by "~italics(username)~" on issue "~bold("#"~to!(string)(issueID))~" "~issueTitle~" ["~underline(issueURL)~"]";
ircBot.channelMessage(ircMessage, toChannel);
/* Send message to NTFY server */