Class CommandHelp
- java.lang.Object
-
- com.mrivanplays.jdcf.Command
-
- com.mrivanplays.jdcf.builtin.help.CommandHelp
-
@CommandAliases("help") public class CommandHelp extends Command
-
-
Constructor Summary
Constructors Constructor Description CommandHelp(EventWaiter eventWaiter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(@NotNull CommandExecutionContext context, @NotNull CommandArguments args)JDCF calls this method when the command was triggered from a message.-
Methods inherited from class com.mrivanplays.jdcf.Command
hasPermission
-
-
-
-
Constructor Detail
-
CommandHelp
public CommandHelp(EventWaiter eventWaiter)
-
-
Method Detail
-
execute
public boolean execute(@NotNull @NotNull CommandExecutionContext context, @NotNull @NotNull CommandArguments args)Description copied from class:CommandJDCF calls this method when the command was triggered from a message. This will always happen when the command name was prefixed with the bot's prefix. According to settings inCommandManagerit also might happen when the bot was mentioned except of the bot prefix. Also according to settings inCommandManagerprefixes may vary between servers.
-
-