public class WallopsCommand extends Command
| Constructor and Description |
|---|
WallopsCommand(Client client)
Constructs the command.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the command.
|
WallopsCommand |
message(String message)
Sets the message to send.
|
String |
toString() |
getClient, toStringerpublic WallopsCommand(@Nonnull Client client)
client - the clientIllegalArgumentException - if client is null@Nonnull public WallopsCommand message(@Nonnull String message)
message - messageIllegalArgumentException - for invalid targetpublic void execute()
CommandCopyright © 2013–2019 Kitteh. All rights reserved.