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, toStringer
public 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()
Command
Copyright © 2013–2019 Kitteh. All rights reserved.