47 lines
1.3 KiB
Java
47 lines
1.3 KiB
Java
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”)";
|
||
}
|
||
|
||
}
|