CTCV2/app/src/main/java/cutthecord/commands/commands/CmdOwo.java

27 lines
671 B
Java

package cutthecord.commands.commands;
import cutthecord.commands.CommandHandler;
import lanchon.dexpatcher.annotation.DexAdd;
@DexAdd
public class CmdOwo extends CommandHandler.Command {
@DexAdd
@Override
public String handleCommand(String msg) {
return msg.replaceAll("(?:r|l)", "w")
.replaceAll("(?:R|L)", "W")
.replaceAll("n([aeiou])", "ny$1")
.replaceAll("N([aeiou])", "Ny$1")
.replaceAll("N([AEIOU])", "NY$1")
.replace("ove", "uv");
}
@DexAdd
@Override
public String getPopupInfo() {
return "Myakes tyext reawwy owo-ly, nya :3";
}
}