Add replies

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

View file

@ -71,7 +71,7 @@ public class DiscordBridge {
String reply = "";
if(referenced.isPresent()) {
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);