- Color `"New comment"` in green

This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-24 18:57:14 +02:00
parent c7953c80ef
commit bf08d2641e
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ void issueHandler(HTTPServerRequest request, HTTPServerResponse response)
string username = userBlock["username"].str();
//TODO: Add IRC error handling
string ircMessage = bold("["~repositoryName~"]")~" New comment '"~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))~" "~underline(issueURL);
ircBot.channelMessage(ircMessage, channelName);
/* Send message to NTFY server */