Class RitualEvent

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

@Deprecated @ScheduledForRemoval(inVersion="2.0.0") public final class RitualEvent extends AbstractChannelEvent
Deprecated.
no longer sent by twitch.
Called when a ritual takes place in chat.

Many channels have special rituals to celebrate viewer milestones when they are shared. The rituals notice extends the sharing of these messages to other viewer milestones (initially, a new viewer chatting for the first time).

See Also:
  • Constructor Details

    • RitualEvent

      public RitualEvent(EventChannel channel, EventUser user, String ritualName)
      Deprecated.
      Event Constructor
      Parameters:
      channel - The channel that this event originates from.
      user - The user involved in the ritual.
      ritualName - The name of the ritual this notice is for.
  • Method Details

    • isNewChatter

      public boolean isNewChatter()
      Deprecated.
      Returns:
      whether the ritual corresponds to a new viewer chatting for the first time
    • getUser

      public EventUser getUser()
      Deprecated.
      The user involved in the ritual.
    • getRitualName

      public String getRitualName()
      Deprecated.
      The name of the ritual this notice is for.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class AbstractChannelEvent
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
      Overrides:
      canEqual in class AbstractChannelEvent
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class AbstractChannelEvent
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class AbstractChannelEvent