From de3305b6171b0e5b7dc6d6fa0d0a6942d404203f Mon Sep 17 00:00:00 2001 From: dowoge Date: Sat, 1 Jul 2023 13:07:35 -0400 Subject: [PATCH] make colour better ! --- src/main/java/testplugin/plugin/DiscordMessageEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/testplugin/plugin/DiscordMessageEvent.java b/src/main/java/testplugin/plugin/DiscordMessageEvent.java index e6bc880..988230e 100644 --- a/src/main/java/testplugin/plugin/DiscordMessageEvent.java +++ b/src/main/java/testplugin/plugin/DiscordMessageEvent.java @@ -23,7 +23,7 @@ public class DiscordMessageEvent extends ListenerAdapter { User author = event.getAuthor(); String message = event.getMessage().getContentStripped(); if (event.isFromGuild() && !author.isBot() && event.getGuildChannel().getId().equals(config.getValue("discordRelayChannel").toString())) { - plugin.getServer().broadcastMessage(ChatColor.DARK_BLUE + "[DISCORD] " + ChatColor.WHITE + author.getEffectiveName() + ": " + message); + plugin.getServer().broadcastMessage(ChatColor.BLUE + "[DISCORD] " + ChatColor.GRAY + author.getEffectiveName() + ChatColor.WHITE + ": " + message); } } }