From f56c6eb7dcee7134b8dc8dc2f3fc7b02f10b0598 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Fri, 24 Mar 2023 15:52:47 +0200 Subject: [PATCH] Unit tests - Tested `setForeground(SimpleColor)` --- source/birchwood/client/client.d | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/birchwood/client/client.d b/source/birchwood/client/client.d index 6282fa7..980b2e9 100644 --- a/source/birchwood/client/client.d +++ b/source/birchwood/client/client.d @@ -1116,6 +1116,9 @@ public class Client : Thread string combination = bold(italics("Italiano Boldino")); client.channelMessage(combination, "#birchwood"); + string foregroundRedtext = setForeground(SimpleColor.RED)~"This is red text"; + client.channelMessage(foregroundRedtext, "#birchwood"); + /**