public class KickEvent extends Event implements GenericChannelModeRecipientEvent
Constructor and Description |
---|
KickEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
UserHostmask recipientHostmask,
User recipient,
String reason) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Channel |
getChannel()
The channel from which the recipient was kicked.
|
String |
getReason()
The reason given by the user who performed the kick.
|
User |
getRecipient()
The unfortunate recipient of the kick.
|
UserHostmask |
getRecipientHostmask()
The unfortunate recipient hostmask of the kick.
|
User |
getUser()
The user who performed the kick.
|
UserHostmask |
getUserHostmask()
The user hostmask that performed the kick.
|
int |
hashCode() |
void |
respond(String response)
Respond with a channel message in
user: message format to
the user that preformed the kick |
String |
toString() |
compareTo, getBot, getId, getTimestamp
getBot, getTimestamp
compareTo
public KickEvent(PircBotX bot, @NonNull Channel channel, @NonNull UserHostmask userHostmask, User user, @NonNull UserHostmask recipientHostmask, User recipient, @NonNull String reason)
public void respond(String response)
user: message
format to
the user that preformed the kickrespond
in interface GenericEvent
respond
in class Event
response
- The response to send@Generated(value="lombok") public String getReason()
@Generated(value="lombok") public Channel getChannel()
getChannel
in interface GenericChannelEvent
@Generated(value="lombok") public UserHostmask getUserHostmask()
getUserHostmask
in interface GenericUserEvent
@Nullable @Generated(value="lombok") public User getUser()
getUser
in interface GenericUserEvent
@Generated(value="lombok") public UserHostmask getRecipientHostmask()
getRecipientHostmask
in interface GenericUserModeEvent
@Nullable @Generated(value="lombok") public User getRecipient()
getRecipient
in interface GenericUserModeEvent
Copyright © 2010–2020 Leon Blakey. All rights reserved.