Class ChannelModEvent

java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent

public final class ChannelModEvent
extends AbstractChannelEvent
This event gets called when a client gains/loses mod status.
  • Constructor Summary

    Constructors
    Constructor Description
    ChannelModEvent​(com.github.twitch4j.common.events.domain.EventChannel channel, com.github.twitch4j.common.events.domain.EventUser user, boolean isMod)
    Event Constructor
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    com.github.twitch4j.common.events.domain.EventUser getUser()
    User
    int hashCode()  
    boolean isMod()
    Is Moderator?
    java.lang.String toString()  

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ChannelModEvent

      public ChannelModEvent​(com.github.twitch4j.common.events.domain.EventChannel channel, com.github.twitch4j.common.events.domain.EventUser user, boolean isMod)
      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