public abstract class ChannelCommand extends Command
| Modifier | Constructor and Description |
|---|---|
protected |
ChannelCommand(Client client,
String channel)
Constructs a command for a given channel.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getChannel()
Gets the channel this command affects.
|
protected ToStringer |
toStringer()
Generates a partial
ToStringer for the command. |
protected ChannelCommand(@Nonnull Client client, @Nonnull String channel)
client - the client on which this command is executingchannel - channel targetedIllegalArgumentException - if null parameters@Nonnull public String getChannel()
@Nonnull protected ToStringer toStringer()
CommandToStringer for the command.toStringer in class CommandCopyright © 2013–2019 Kitteh. All rights reserved.