make colour better !
This commit is contained in:
parent
7099298cec
commit
de3305b617
@ -23,7 +23,7 @@ public class DiscordMessageEvent extends ListenerAdapter {
|
|||||||
User author = event.getAuthor();
|
User author = event.getAuthor();
|
||||||
String message = event.getMessage().getContentStripped();
|
String message = event.getMessage().getContentStripped();
|
||||||
if (event.isFromGuild() && !author.isBot() && event.getGuildChannel().getId().equals(config.getValue("discordRelayChannel").toString())) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user