Index
All Classes and Interfaces|All Packages
C
- com.yosoyvillaa.vjcommands - package com.yosoyvillaa.vjcommands
- com.yosoyvillaa.vjcommands.command - package com.yosoyvillaa.vjcommands.command
- CommandManager - Class in com.yosoyvillaa.vjcommands
-
The
CommandManager
is the place where you can manage all you commands. - CommandManager(JDA, IEventManager) - Constructor for class com.yosoyvillaa.vjcommands.CommandManager
E
- execute(SlashCommandInteractionEvent) - Method in interface com.yosoyvillaa.vjcommands.command.SlashCommand
-
This code block will be executed on the command execution.
- execute(MessageReceivedEvent) - Method in interface com.yosoyvillaa.vjcommands.command.PrefixCommand
-
This code block will be executed on the command execution.
G
- getCommandData() - Method in interface com.yosoyvillaa.vjcommands.command.SlashCommand
-
Gets the command
CommandData
. - getCommands() - Method in class com.yosoyvillaa.vjcommands.CommandManager
-
Get all the registered commands.
- getDescription() - Method in interface com.yosoyvillaa.vjcommands.command.SlashCommand
-
Gets the command description.
- getJda() - Method in class com.yosoyvillaa.vjcommands.CommandManager
-
Gets the
JDA
instance associated to thisCommandManager
. - getName() - Method in interface com.yosoyvillaa.vjcommands.command.ICommand
-
Gets the
ICommand
name. - getPrefix() - Method in interface com.yosoyvillaa.vjcommands.command.PrefixCommand
-
Gets the command prefix.
- getPrefixCommands() - Method in class com.yosoyvillaa.vjcommands.CommandManager
-
Get all the registered
PrefixCommand
. - getSlashCommands() - Method in class com.yosoyvillaa.vjcommands.CommandManager
-
Get all the registered
SlashCommand
.
I
- ICommand - Interface in com.yosoyvillaa.vjcommands.command
-
ICommand
contains methods used by all type of commands.
O
- onMessageReceived(MessageReceivedEvent) - Method in class com.yosoyvillaa.vjcommands.CommandManager
- onSlashCommandInteraction(SlashCommandInteractionEvent) - Method in class com.yosoyvillaa.vjcommands.CommandManager
P
- PrefixCommand - Interface in com.yosoyvillaa.vjcommands.command
-
A
PrefixCommand
is represented by a prefix.
R
- registerCommand(ICommand) - Method in class com.yosoyvillaa.vjcommands.CommandManager
-
Try to register an
ICommand
. - registerCommands(ICommand...) - Method in class com.yosoyvillaa.vjcommands.CommandManager
-
Try to register a list of
ICommand
.
S
- SlashCommand - Interface in com.yosoyvillaa.vjcommands.command
-
A
SlashCommand
is represented by a slash ('/').
U
- unregisterAllCommands() - Method in class com.yosoyvillaa.vjcommands.CommandManager
-
Unregister all registered commands.
- unregisterCommand(ICommand) - Method in class com.yosoyvillaa.vjcommands.CommandManager
-
Unregister the given
ICommand
.
All Classes and Interfaces|All Packages