Skip to content

Commit

Permalink
> live chat green text
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Nov 6, 2023
1 parent 6c0badf commit c11e0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/vc/live/LiveChat.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c11e0f7

Please sign in to comment.