@Target(value=TYPE)
@Retention(value=RUNTIME)
public static @interface JDACommand.Module
Commands.
Method names provided to this annotation must have one or two parameters.
Either a single parameter CommandEvent, or a double parameter CommandEvent and Command.
The arrangement of the double parameters is not important, so methods
may do it as (CommandEvent, Command) or (Command, CommandEvent).
JDACommand| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
value
The names of any methods that will be targeted when compiling this object
using the
AnnotatedModuleCompiler. |
public abstract java.lang.String[] value
AnnotatedModuleCompiler.
This is not the same thing as the name of the commands! These are the names of the methods representing execution of the commands!