Class ChannelModEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.chat.events.TwitchEvent
com.github.twitch4j.chat.events.AbstractChannelEvent
com.github.twitch4j.chat.events.channel.ChannelModEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
@Deprecated
@ScheduledForRemoval(inVersion="2.0.0")
public final class ChannelModEvent
extends AbstractChannelEvent
Deprecated.
Twitch intends to remove this event.
This event gets called when a client gains/loses mod status.
-
Constructor Summary
ConstructorDescriptionChannelModEvent
(EventChannel channel, EventUser user, boolean isMod) Deprecated.Event Constructor -
Method Summary
Methods inherited from class com.github.twitch4j.chat.events.AbstractChannelEvent
ban, getChannel, timeout, unban
Methods inherited from class com.github.twitch4j.chat.events.TwitchEvent
getTwitchChat
Methods inherited from class com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Constructor Details
-
ChannelModEvent
Deprecated.Event Constructor- Parameters:
channel
- The channel that this event originates from.user
- The user that gained/lost mod status.isMod
- Did the use gain or lose mod status?
-
-
Method Details
-
toString
Deprecated.- Overrides:
toString
in classAbstractChannelEvent
-
getUser
Deprecated.User -
isMod
public boolean isMod()Deprecated.Is Moderator? -
equals
Deprecated.- Overrides:
equals
in classAbstractChannelEvent
-
canEqual
Deprecated.- Overrides:
canEqual
in classAbstractChannelEvent
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCode
in classAbstractChannelEvent
-