- Underline the URL of the new comment, make username and comment italics, make issue number bold

This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-24 18:53:53 +02:00
parent 22e813500a
commit af4a1ccb1e
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 '"~commentBody~"' by "~username~" on issue #"~to!(string)(issueID)~" ["~issueURL~"]";
string ircMessage = bold("["~repositoryName~"]")~" New comment '"~italic(commentBody)~"' by "~italic(username)~" on issue "~bold("#"~to!(string)(issueID))~" "~underline(issueURL);
ircBot.channelMessage(ircMessage, channelName);
/* Send message to NTFY server */