public class RemoveInviteOnlyEvent extends Event implements GenericChannelModeEvent
This is a type of mode change and therefor is also dispatched in a
ModeEvent
Constructor and Description |
---|
RemoveInviteOnlyEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Channel |
getChannel()
The source channel where this event took place.
|
User |
getUser()
The source user that generated the event.
|
UserHostmask |
getUserHostmask()
The source user hostmask that generated the event.
|
int |
hashCode() |
void |
respond(String response)
Respond by send a message in the channel to the user that removed the
mode in
user: message format |
String |
toString() |
compareTo, getBot, getId, getTimestamp
getBot, getTimestamp
compareTo
public RemoveInviteOnlyEvent(PircBotX bot, @NonNull Channel channel, @NonNull UserHostmask userHostmask, User user)
public void respond(String response)
user: message
formatrespond
in interface GenericEvent
respond
in class Event
response
- The response to send@Generated(value="lombok") public Channel getChannel()
GenericChannelEvent
getChannel
in interface GenericChannelEvent
@Generated(value="lombok") public UserHostmask getUserHostmask()
GenericUserEvent
getUserHostmask
in interface GenericUserEvent
@Generated(value="lombok") public User getUser()
GenericUserEvent
getUser
in interface GenericUserEvent
Copyright © 2010–2020 Leon Blakey. All rights reserved.