Skip to content

Commit

Permalink
fix digits bug
Browse files Browse the repository at this point in the history
  • Loading branch information
WholesomeGodList committed Feb 19, 2021
1 parent 44948ca commit 7a0a0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/bot/Wiretap.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static void registerSuspect(String messageId, String authorId, SiteFetche
suspects.put(messageId, new ImmutablePair<>(authorId, fetcher));
}

private final Pattern abbreviation = Pattern.compile("[\\[{]\\s*(#\\d+|\\d{4})\\s*[}\\]]");
private final Pattern abbreviation = Pattern.compile("[\\[{]\\s*(#\\d+|\\d{4,})\\s*[}\\]]");

@Override
public void onMessageReceived(MessageReceivedEvent event) {
Expand Down

0 comments on commit 7a0a0c2

Please sign in to comment.