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

47 lines
1.3 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package cutthecord.commands.commands;
import cutthecord.commands.CommandHandler;
import lanchon.dexpatcher.annotation.DexAdd;
@DexAdd
public class CmdSmall extends CommandHandler.Command {
@DexAdd
@Override
public String handleCommand(String msg) {
return msg.toLowerCase()
.replace("a", "")
.replace("b", "ʙ")
.replace("c", "")
.replace("d", "")
.replace("e", "")
.replace("f", "")
.replace("g", "ɢ")
.replace("h", "ʜ")
.replace("i", "ɪ")
.replace("j", "")
.replace("k", "")
.replace("l", "ʟ")
.replace("m", "")
.replace("n", "ɴ")
.replace("o", "")
.replace("p", "")
.replace("q", "ǫ")
.replace("r", "ʀ")
//.replace("s", "s")
.replace("t", "")
.replace("u", "")
.replace("v", "")
.replace("w", "")
.replace("y", "ʏ")
.replace("z", "");
}
@DexAdd
@Override
public String getPopupInfo() {
return "Makes text smaller (like “ᴛʜɪs”)";
}
}