public class InviteEvent extends Event implements GenericUserEvent
Constructor and Description |
---|
InviteEvent(PircBotX bot,
UserHostmask userHostmask,
User user,
String channel) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getChannel()
The channel that we're being invited to.
|
User |
getUser()
The user that sent the invite.
|
UserHostmask |
getUserHostmask()
The user hostmask that sent the invite.
|
int |
hashCode() |
void |
respond(String response)
Respond with a private message to the user who sent the invite
|
String |
toString() |
compareTo, getBot, getId, getTimestamp
getBot, getTimestamp
compareTo
public InviteEvent(PircBotX bot, @NonNull UserHostmask userHostmask, User user, @NonNull String channel)
public void respond(String response)
respond
in interface GenericEvent
respond
in class Event
response
- The response to send@Generated(value="lombok") public String getChannel()
@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.