- Made formatting for newly created issues (opened) same as for other events issue-wise
This commit is contained in:
Tristan B. Velloza Kildaire 2023-06-13 14:56:39 +02:00
parent 5d1eef944e
commit 4d5f969005
1 changed files with 1 additions and 1 deletions

View File

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