move regexmanager to api
This commit is contained in:
1 parent
a135900a1c
commit
4124315bd7
3 files changed
+7
-6
No files matched your search
+3
-3
@@ -1,17 +1,17 @@
|
||||
package com.alttd.chat.objects;
|
||||
|
||||
public class Regex {
|
||||
public class ChatFilter {
|
||||
|
||||
private final String regex;
|
||||
private final RegexType type;
|
||||
private String replacement = "";
|
||||
|
||||
public Regex(String regex, RegexType type) {
|
||||
public ChatFilter(String regex, RegexType type) {
|
||||
this.regex = regex;
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public Regex(String regex, RegexType type, String replacement) {
|
||||
public ChatFilter(String regex, RegexType type, String replacement) {
|
||||
this.regex = regex;
|
||||
this.type = type;
|
||||
this.replacement = replacement;
|
||||
Reference in new issue
Block a user