38 lines
1.1 KiB
Java
38 lines
1.1 KiB
Java
package cutthecord.commands.commands;
|
|
|
|
import cutthecord.commands.CommandHandler;
|
|
import lanchon.dexpatcher.annotation.DexAdd;
|
|
|
|
@DexAdd
|
|
public class CmdOwo extends CommandHandler.Command {
|
|
|
|
@DexAdd
|
|
final String[] expressions = {
|
|
">_<", ":3", "ʕʘ‿ʘʔ", ":D", "._.",
|
|
";3", "xD", "ㅇㅅㅇ", "(人◕ω◕)",
|
|
">_>", "ÙωÙ", "UwU", "OwO", ":P",
|
|
"(◠‿◠✿)", "^_^", ";_;", "XDDD",
|
|
"x3", "(• o •)", "<_<", "(・`ω´・)",
|
|
";;w;;", ">w<", "^w^"
|
|
};
|
|
|
|
@DexAdd
|
|
@Override
|
|
public String handleCommand(String msg) {
|
|
return msg.replaceAll("[rl]", "w")
|
|
.replaceAll("[RL]", "W")
|
|
.replaceAll("n([aeiou])", "ny$1")
|
|
.replaceAll("N([aeiou])", "Ny$1")
|
|
.replaceAll("N([AEIOU])", "NY$1")
|
|
.replace("ove", "uv")
|
|
.replaceAll("!+", " "+ expressions[(int) Math.floor(Math.random()*expressions.length)]+ " ");
|
|
}
|
|
|
|
@DexAdd
|
|
@Override
|
|
public String getPopupInfo() {
|
|
return "Myakes tyext reawwy owo-ly, nya :3";
|
|
}
|
|
|
|
}
|