mirror of
https://github.com/plexusorg/Plex.git
synced 2024-11-17 00:56:12 +00:00
18 lines
320 B
Java
18 lines
320 B
Java
|
package dev.plex.cmdblocker;
|
||
|
|
||
|
import dev.plex.rank.enums.Rank;
|
||
|
import lombok.Getter;
|
||
|
|
||
|
import java.util.regex.Pattern;
|
||
|
|
||
|
@Getter
|
||
|
public class RegexCommand extends BaseCommand
|
||
|
{
|
||
|
public final Pattern regex;
|
||
|
|
||
|
public RegexCommand(Pattern r1, Rank r2, String m1)
|
||
|
{
|
||
|
super(r2, m1);
|
||
|
regex = r1;
|
||
|
}
|
||
|
}
|