Class Rule34
java.lang.Object
de.presti.ree6.commands.impl.nsfw.Rule34
- All Implemented Interfaces:
ICommand
A command to show NSFW-Image from rule34.xxx.
-
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.voidsendImage(CommandEvent commandEvent, net.dv8tion.jda.api.entities.Message message, String tags) Method called to send the Image.voidsendMessage(CommandEvent commandEvent) Actual part of command handling.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
-
Rule34
public Rule34()
-
-
Method Details
-
onPerform
Description copied from interface:ICommandWill be fired when the Command is called. -
sendMessage
Actual part of command handling.- Parameters:
commandEvent- the CommandEvent.
-
sendImage
public void sendImage(CommandEvent commandEvent, net.dv8tion.jda.api.entities.Message message, String tags) Method called to send the Image.- Parameters:
commandEvent- the CommandEvent.message- the Message.tags- the Tags.
-
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.
-