- Use green text formatting when re-openning an issue
This commit is contained in:
Tristan B. Velloza Kildaire 2023-06-12 20:31:13 +02:00
parent f9ce9c1e2d
commit 96f52c3e1c
1 changed files with 1 additions and 1 deletions

View File

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