mirror of https://github.com/sgoudham/Enso-Bot.git
Update command annotations
parent
6be86bca2f
commit
67a2426502
@ -1,16 +1,18 @@
|
||||
package me.goudham.command.annotation;
|
||||
|
||||
import jakarta.inject.Qualifier;
|
||||
import jakarta.inject.Singleton;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Qualifier
|
||||
@Target(ElementType.ANNOTATION_TYPE)
|
||||
@Singleton
|
||||
@Target(ElementType.TYPE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface SubCommandGroup {
|
||||
String parent();
|
||||
String name();
|
||||
String description();
|
||||
SubCommand[] subCommands() default {};
|
||||
}
|
||||
|
Loading…
Reference in New Issue