Skip to content

Commit

Permalink
fix message links
Browse files Browse the repository at this point in the history
  • Loading branch information
danthe1st committed Aug 21, 2024
1 parent e59239f commit b70b5c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b70b5c9

Please sign in to comment.