25 lines
466 B
Java
25 lines
466 B
Java
package cutthecord.commands.commands;
|
|
|
|
import androidx.annotation.Nullable;
|
|
|
|
import cutthecord.commands.CommandHandler;
|
|
import lanchon.dexpatcher.annotation.DexAdd;
|
|
|
|
@DexAdd
|
|
public class CmdUpper extends CommandHandler.Command {
|
|
|
|
@DexAdd
|
|
@Override
|
|
public String handleCommand(String msg) {
|
|
return msg.toUpperCase();
|
|
}
|
|
|
|
@DexAdd
|
|
@Nullable
|
|
@Override
|
|
public String getPopupInfo() {
|
|
return "Makes text uppercase";
|
|
}
|
|
|
|
}
|