= Updated image embed behavior

This commit is contained in:
Matthew Cech
2019-05-13 12:30:58 -07:00
parent 49e0fc4469
commit 475b28d0bd
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -47,6 +47,9 @@ public class Response
if(embedInfo.authorImage != null || embedInfo.authorLink != null || embedInfo.authorText != null)
embed.setAuthor(embedInfo.authorText, embedInfo.authorLink, embedInfo.authorImage);
if(embedInfo.imageURL != null)
embed.setImage(embedInfo.imageURL);
event.getChannel().sendMessage(embed.build()).queue();
}