public class JoinEvent extends Event implements GenericChannelUserEvent
Constructor and Description |
---|
JoinEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Channel |
getChannel()
The channel which somebody joined.
|
User |
getUser()
The user who joined the channel.
|
UserHostmask |
getUserHostmask()
The user hostmask who joined the channel.
|
int |
hashCode() |
void |
respond(String response)
Respond with a channel message in
user: message format to
the user that joined |
String |
toString() |
compareTo, getBot, getId, getTimestamp
getBot, getTimestamp
compareTo
public JoinEvent(PircBotX bot, @NonNull Channel channel, @NonNull UserHostmask userHostmask, User user)
public void respond(String response)
user: message
format to
the user that joinedrespond
in interface GenericEvent
respond
in class Event
response
- The response to send@Generated(value="lombok") public Channel getChannel()
getChannel
in interface GenericChannelEvent
@Nullable @Generated(value="lombok") public User getUser()
getUser
in interface GenericUserEvent
@Generated(value="lombok") public UserHostmask getUserHostmask()
getUserHostmask
in interface GenericUserEvent
Copyright © 2010–2020 Leon Blakey. All rights reserved.