diff --git a/src/main/java/net/discordjug/javabot/listener/MessageLinkListener.java b/src/main/java/net/discordjug/javabot/listener/MessageLinkListener.java index e2ac13951..5083a2871 100644 --- a/src/main/java/net/discordjug/javabot/listener/MessageLinkListener.java +++ b/src/main/java/net/discordjug/javabot/listener/MessageLinkListener.java @@ -31,7 +31,7 @@ */ public class MessageLinkListener extends ListenerAdapter { - private static final Pattern MESSAGE_URL_PATTERN = Pattern.compile("https://((?:canary|ptb)\\.)?discord.com/channels/[0-9]+/[0-9]+/[0-9]+"); + private static final Pattern MESSAGE_URL_PATTERN = Pattern.compile("https://((?:canary|ptb)\\.)?discord(app)?.com/channels/[0-9]+/[0-9]+/[0-9]+"); @Override public void onMessageReceived(@NotNull MessageReceivedEvent event) {