Forgot I had this there

This commit is contained in:
Video 2021-04-07 19:45:03 -06:00
parent a33c310757
commit 16e06bd932

View file

@ -85,7 +85,7 @@ public class DiscordToAdminChatListener extends ListenerAdapter
{
for (Message.Attachment attachment : msg.getAttachments())
{
TextComponent text = new TextComponent((msg.getContentDisplay().isEmpty() ? "" : " ") + mediamessage);
TextComponent text = new TextComponent(mediamessage);
text.setClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, attachment.getUrl()));
if (!msg.getContentDisplay().isEmpty())
{