move regexmanager to api

This commit is contained in:
len
2021-05-20 18:45:26 +02:00
parent a135900a1c
commit 4124315bd7
3 changed files with 7 additions and 6 deletions
@@ -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;