Add replies

This commit is contained in:
Business Goose 2022-03-29 23:47:31 +01:00
parent eab0ceca52
commit 8c111240e6
No known key found for this signature in database
GPG key ID: 77DCA801362E9645

View file

@ -71,7 +71,7 @@ public class DiscordBridge {
String reply = ""; String reply = "";
if(referenced.isPresent()) { if(referenced.isPresent()) {
Message replyingTo = referenced.get(); Message replyingTo = referenced.get();
reply = String.format("┌ %s %s\n", replyingTo.getAuthor().getDiscriminatedName(), replyingTo.getReadableContent()); reply = String.format(ChatColor.GRAY + "" + ChatColor.YELLOW + "%s" + ChatColor.GRAY + " %s\n" + ChatColor.WHITE, replyingTo.getAuthor().getDiscriminatedName(), replyingTo.getReadableContent());
} }
String format = MainConfig.getString((isAdmin) ? ConfigurationEntry.DISCORD_ADMIN_FORMAT : ConfigurationEntry.DISCORD_FORMAT); String format = MainConfig.getString((isAdmin) ? ConfigurationEntry.DISCORD_ADMIN_FORMAT : ConfigurationEntry.DISCORD_FORMAT);