From 6d1ef817933c33ebb9af78b6aef2e5330f67e953 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Fri, 7 Jul 2023 13:12:19 +0200 Subject: [PATCH] App - Make the "New commit" text green --- source/app.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app.d b/source/app.d index 48fa2b3..3824d32 100644 --- a/source/app.d +++ b/source/app.d @@ -83,7 +83,7 @@ void commitHandler(HTTPServerRequest request, HTTPServerResponse response) /* Extract JUST the repository's name */ toChannel = associations[json["repository"]["name"].str()]; - string ircMessage = bold("["~repositoryName~"]")~" New commit "~commitMessage~" ("~commitID~") by "~italics(authorName)~" ("~authorEmail~") ["~underline(commitURL)~"]"; + string ircMessage = bold("["~repositoryName~"]")~setForeground(SimpleColor.GREEN)~" New commit "~resetForegroundBackground()~commitMessage~" ("~commitID~") by "~italics(authorName)~" ("~authorEmail~") ["~underline(commitURL)~"]"; ircBot.channelMessage(ircMessage, toChannel); //TODO: Add IRC error handling /* Send message to NTFY server */