Class TimeoutCommand
java.lang.Object
de.klassenserver7b.k7bot.commands.common.moderation.TimeoutCommand
- All Implemented Interfaces:
ServerCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getHelp()voidonTimeout(net.dv8tion.jda.api.entities.Member requester, net.dv8tion.jda.api.entities.Member u, net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel channel, String time, String grund) voidperformCommand(net.dv8tion.jda.api.entities.Member m, net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel channel, net.dv8tion.jda.api.entities.Message message)
-
Constructor Details
-
TimeoutCommand
public TimeoutCommand()
-
-
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
-
onTimeout
-