Add wiki denotation to author field

This commit is contained in:
Salmonllama 2020-09-12 17:41:28 -04:00
parent a4a0f6a634
commit 39cf590cf4

View File

@ -24,9 +24,9 @@ public class OsrsSearchUtilities {
EmbedBuilder embed = new EmbedBuilder()
.setTitle(String.format("Best Match - %s", bestMatch.getName()))
.setImage(bestMatch.getImages().getDetail())
.setAuthor(String.format("Wiki: %s", bestMatch.getName()), bestMatch.getWiki().getLink(), bestMatch.getImages().getDetail())
.setUrl(result.getLink())
.setColor(Color.decode(bestMatch.getColors()[0]))
.setFooter(String.format("Wiki: %s", result.getLink()))
.addField("Match:", String.valueOf(bestMatch.getMatch()), true)
.addField("Colors:", colors, true)