Added tag feature
This commit is contained in:
@@ -15,4 +15,8 @@ public class ANSIColor {
|
||||
.replace("&y", GREY)
|
||||
.replace("&n", RESET);
|
||||
}
|
||||
|
||||
public static String tag(String message, String chatter){
|
||||
return message.replaceAll("(@" + chatter + ")", "\u001B[44;30m$1\u001B[49;39m" );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user