Class ReactRolesCommand
java.lang.Object
de.klassenserver7b.k7bot.util.commands.common.ReactRolesCommand
- All Implemented Interfaces:
ServerCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidString[]getHelp()booleanvoidperformCommand(net.dv8tion.jda.api.entities.Member m, net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel channel, net.dv8tion.jda.api.entities.Message message)
-
Field Details
-
isEnabled
private boolean isEnabled -
log
private final org.slf4j.Logger log
-
-
Constructor Details
-
ReactRolesCommand
public ReactRolesCommand()
-
-
Method Details
-
getHelp
- Specified by:
getHelpin interfaceServerCommand- Returns:
- The Help for the
ServerCommand
-
getCommandStrings
- Specified by:
getCommandStringsin interfaceServerCommand- Returns:
- The Command Strings for the
ServerCommand
-
getCategory
- Specified by:
getCategoryin interfaceServerCommand- Returns:
- The Category for the
ServerCommand
-
performCommand
public void performCommand(net.dv8tion.jda.api.entities.Member m, net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel channel, net.dv8tion.jda.api.entities.Message message) - Specified by:
performCommandin interfaceServerCommand
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceServerCommand
-
disableCommand
public void disableCommand()- Specified by:
disableCommandin interfaceServerCommand
-
enableCommand
public void enableCommand()- Specified by:
enableCommandin interfaceServerCommand
-