Annotation Interface JDACommand.Module
- Enclosing class:
JDACommand
A helper annotation to assist in location of methods that will generate
into
Command
s.
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)
.
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionString[]
The names of any methods that will be targeted when compiling this object using theAnnotatedModuleCompiler
.
-
Element Details
-
value
String[] valueThe names of any methods that will be targeted when compiling this object using theAnnotatedModuleCompiler
.This is not the same thing as the name of the commands! These are the names of the methods representing execution of the commands!
- Returns:
- An array of method names used when creating commands.
-