Class Info
java.lang.Object
de.presti.ree6.commands.impl.info.Info
- All Implemented Interfaces:
ICommand
A command to show the user's information.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getAlias()Aliases of the current Command.net.dv8tion.jda.api.interactions.commands.build.CommandDataA CommandData implementation for JDAs SlashCommand Interaction Implementation.voidonPerform(CommandEvent commandEvent) Will be fired when the Command is called.voidsendInfo(net.dv8tion.jda.api.entities.Member member, CommandEvent commandEvent) Sends the Information about a User.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.presti.ree6.commands.interfaces.ICommand
onASyncPerform
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
onPerform
Description copied from interface:ICommandWill be fired when the Command is called. -
getCommandData
public net.dv8tion.jda.api.interactions.commands.build.CommandData getCommandData()Description copied from interface:ICommandA CommandData implementation for JDAs SlashCommand Interaction Implementation.- Specified by:
getCommandDatain interfaceICommand- Returns:
- the created CommandData.
-
getAlias
Description copied from interface:ICommandAliases of the current Command. -
sendInfo
Sends the Information about a User.- Parameters:
member- The User to get the Information from.commandEvent- The CommandEvent.
-