Add message prefix feature

This commit is contained in:
Draycia committed 2020-08-07 02:04:57 -07:00
1 parent d328b09c36
commit f64ae319ed
4 files changed
+41 -4

No files matched your search

@@ -4,6 +4,7 @@ import net.draycia.carbon.events.ChatFormatEvent;
import net.draycia.carbon.storage.ChatUser;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.TextColor;
import org.jetbrains.annotations.Nullable;
import java.util.List;
import java.util.regex.Pattern;
@@ -39,6 +40,9 @@ public abstract class ChatChannel {
public abstract String getKey();
@Nullable
public abstract String getPrefix();
public abstract String getAliases();
/**