Add emojis to urban dictionary

This commit is contained in:
Bea 2022-12-20 23:30:40 +01:00
parent 8f5c29aa95
commit f3cc9a2d75

View File

@ -80,9 +80,9 @@ public class UrbanDictionary
embedBuilder.setColor(Cache.getBotColor());
embedBuilder.setTitle(term + ", on Urban Dictionary", url);
embedBuilder.setAuthor(author.getAsTag(), null, author.getAvatarUrl());
embedBuilder.addField("Definition", search.getPlaintextMeanings().get(page), false);
embedBuilder.addField("Example", search.getPlaintextExamples().get(page), false);
embedBuilder.addField("Submission",
embedBuilder.addField("\uD83D\uDCD6 Definition", search.getPlaintextMeanings().get(page), false);
embedBuilder.addField("\uD83D\uDCAD Example", search.getPlaintextExamples().get(page), false);
embedBuilder.addField("\uD83D\uDCCC Submission",
"*Entry " + (page+1) + " | Sent by " + search.getContributorsNames().get(page) +
" on " + search.getSubmissionDates().get(page) + "*",
false);