From 4799001074f5d035a4217a2bc416ae45093d7c62 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Sun, 9 Jul 2023 14:42:44 +0200 Subject: [PATCH] App - Include issue's title when a comment is added --- source/app.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app.d b/source/app.d index 3824d32..c735926 100644 --- a/source/app.d +++ b/source/app.d @@ -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 */