First official version of JCommands!
Featuring:
- Easy slash command handling
-including options & choices - Easy legacy command handling
-simplified argument handling - Better event handlers
Examples:
Easy slash command:
Same thing with legacy command:
Simple ping
discord bot:
JAPI.initialize(args[0]);
JAPI.setGuildID("your test guild id");
new SlashCommand("ping", "ping command", true, event -> event.reply("Pong!"));