public class WallopsCommand extends Command<WallopsCommand>
Command.Tags| Constructor and Description |
|---|
WallopsCommand(@NonNull Client client)
Constructs the command.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the command.
|
@NonNull WallopsCommand |
message(@NonNull String message)
Sets the message to send.
|
String |
toString() |
getClient, sendCommandLine, sendCommandLine, tags, toStringerpublic WallopsCommand(@NonNull Client client)
client - the clientIllegalArgumentException - if client is nullpublic @NonNull WallopsCommand message(@NonNull String message)
message - messageIllegalArgumentException - for invalid targetpublic void execute()
Commandexecute in class Command<WallopsCommand>public String toString()
toString in class Command<WallopsCommand>Copyright © 2013–2021 Kitteh. All rights reserved.