Class ArgumentMismatchEvent
- java.lang.Object
-
- me.s3ns3iw00.jcommands.event.CommandEvent
-
- me.s3ns3iw00.jcommands.event.type.ArgumentMismatchEvent
-
public class ArgumentMismatchEvent extends CommandEvent
An event that is provided byArgumentMismatchEventListener
Contains the
Argument
that was not valid
-
-
Constructor Summary
Constructors Constructor Description ArgumentMismatchEvent(Command command, org.javacord.api.entity.user.User sender, CommandResponder responder, Argument argument)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Argument
getArgument()
-
Methods inherited from class me.s3ns3iw00.jcommands.event.CommandEvent
getCommand, getResponder, getSender
-
-
-
-
Constructor Detail
-
ArgumentMismatchEvent
public ArgumentMismatchEvent(Command command, org.javacord.api.entity.user.User sender, CommandResponder responder, Argument argument)
-
-
Method Detail
-
getArgument
public Argument getArgument()
-
-