Skip to content

Instantly share code, notes, and snippets.

View wiselder's full-sized avatar
🌚

Danila Kashirin wiselder

🌚
View GitHub Profile
@Pack
@Command("say <message>")
public class ActionCommand {
@Bind(pattern = "<message>")
public final ArgumentType<String> message = StringArgumentType.greedyString();
@Bind(pattern = "<message>")
public void send(CommandSender source, @Let("<message>") String message) {
source.sendMessage(message);
}