From c11e0f71031b78f47b16b30ef0be2d38241c2ab6 Mon Sep 17 00:00:00 2001 From: rfresh2 <89827146+rfresh2@users.noreply.github.com> Date: Sun, 5 Nov 2023 16:54:02 -0800 Subject: [PATCH] > live chat green text --- src/main/java/vc/live/LiveChat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/vc/live/LiveChat.java b/src/main/java/vc/live/LiveChat.java index c0b6af4..d675712 100644 --- a/src/main/java/vc/live/LiveChat.java +++ b/src/main/java/vc/live/LiveChat.java @@ -66,7 +66,7 @@ private EmbedData getChatEmbed(final Chats chat) { return EmbedCreateSpec.builder() .description(escape("**" + chat.getPlayerName() + ":** " + chat.getChat())) .footer("\u200b", avatarUrl(chat.getPlayerUuid()).toString()) - .color(Color.BLACK) + .color(chat.getChat().startsWith(">") ? Color.MEDIUM_SEA_GREEN : Color.BLACK) .timestamp(Instant.ofEpochSecond(chat.getTime().toEpochSecond())) .build() .asRequest();