make colour better !

This commit is contained in:
dowoge 2023-07-01 13:07:35 -04:00
parent 7099298cec
commit de3305b617
No known key found for this signature in database
GPG Key ID: A868F67EA0425DD8

View File

@ -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);
}
}
}