diff --git a/src/main/java/dev/plex/listener/impl/CommandListener.java b/src/main/java/dev/plex/listener/impl/CommandListener.java index 0897815..3d1d4b0 100644 --- a/src/main/java/dev/plex/listener/impl/CommandListener.java +++ b/src/main/java/dev/plex/listener/impl/CommandListener.java @@ -76,7 +76,7 @@ public class CommandListener extends PlexListener { if (blockedCommand.getRegex() != null) { - Pattern pattern = Pattern.compile(blockedCommand.getRegex()); + Pattern pattern = Pattern.compile(blockedCommand.getRegex(), Pattern.CASE_INSENSITIVE); Matcher matcher = pattern.matcher(event.getMessage().replace("/", "")); if (matcher.find()) {