google /
guice
Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.
88/100 healthLoading repository data…
mirko0 / repository
A lightweight Java library for Discord bots using JDA. Simplifies slash command creation with annotations, supporting subcommands, groups, and localized names/descriptions for single or sharded JDA instances.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Command Processor is a lightweight, annotation-driven Java library designed to streamline the creation and management of Discord slash commands for bots built with JDA (Java Discord API). It provides a clean, modular approach to defining commands, subcommands, and subcommand groups, with support for localized names and descriptions to cater to diverse user bases. The library is flexible, supporting both single JDA instances and sharded bot setups, making it ideal for Discord bot developers seeking a simple yet powerful command framework.
@CommandInfo, @SubCommandHandler, and @CommandOption.@LocalizedEntry annotation, supporting Discord’s locale system (e.g., English, Spanish, French).Add Command Processor to your project by including it from your local Maven repository after publishing:
Maven:
<dependency>
<groupId>com.github.mirko0</groupId>
<artifactId>quartermaster-commands</artifactId>
<version>0.0.2</version>
</dependency>
Gradle:
implementation 'com.github.mirko0:quartermaster-commands:0.0.2'
To publish the library to your local Maven repository, run:
./gradlew publishToMavenLocal
Define a command using annotations and register it with CommandProcessor:
CommandProcessor processor = new CommandProcessor(jda, commands);
@CommandInfo(name = "ping", description = "Pong!",
groups = {
@SubCommandGroupInfo(name = "test", description = "Test group")
}
)
public class PingCommand implements QCommandBase {
@Autowired
private JDA jda;
@CommandHandler
public void execute(
@CommandEvent SlashCommandInteractionEvent event) {
event.deferReply(true).queue();
event.getHook().editOriginal("Ping: " + event.getJDA().getRestPing().complete() + "ms | Websocket: " + event.getJDA().getGatewayPing() + "ms").queue();
}
@SubCommandHandler(name = "pong", description = "Can you pong?")
public void pong(@CommandEvent SlashCommandInteractionEvent event) {
event.reply("Pong!").queue();
}
@Group("test")
@SubCommandHandler(name = "groupchild", description = "This command is a child of Group \"test\"")
public void groupchild(
@CommandEvent SlashCommandInteractionEvent event,
@CommandOption(type = OptionType.STRING, name = "message", description = "Message to send") String message
) {
event.reply("Its fun! + " + message).queue();
}
}
Selected from shared topics, language and repository description—not editorial ratings.
google /
Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.
88/100 healthActiviti /
Activiti is a light-weight workflow and Business Process Management (BPM) Platform targeted at business people, developers and system admins. Its core is a super-fast and rock-solid BPMN 2 process engine for Java. It's open-source and distributed under the Apache license. Activiti runs in any Java application, on a server, on a cluster or in the cloud. It integrates perfectly with Spring, it is extremely lightweight and based on simple concepts.
89/100 healthtestcontainers /
Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
88/100 healthalibaba /
QLExpress is a powerful, lightweight, dynamic language for the Java platform aimed at improving developers’ productivity in different business scenes.
84/100 healthdromara /
A lightweight dynamic thread pool framework with built-in monitoring and alerting, unified third-party thread pool management, and support for popular configuration centers (Nacos, Apollo, Zookeeper, Consul, and Etcd), extensible via SPI。
93/100 healthnetworknt /
A fast, lightweight and more productive microservices framework
90/100 health