Class TwitchBroadcasterTypeEvent

java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.twitch.TwitchEvent
tv.phantombot.event.twitch.TwitchBroadcasterTypeEvent

public class TwitchBroadcasterTypeEvent extends TwitchEvent
An update to the Twitch broadcaster type of the caster
  • Constructor Details

    • TwitchBroadcasterTypeEvent

      public TwitchBroadcasterTypeEvent(boolean wasAffiliate, boolean wasPartner, boolean isAffiliate, boolean isPartner)
  • Method Details

    • wasAffiliate

      public boolean wasAffiliate()
      Indicates if this channel was an affiliate before this update
      Returns:
    • wasPartner

      public boolean wasPartner()
      Indicates if this channel was a partner before this update
      Returns:
    • wasAffiliateOrPartner

      public boolean wasAffiliateOrPartner()
      Indicates if this channel was either an affiliate or a partner before this update
      Returns:
    • isAffiliate

      public boolean isAffiliate()
      Indicates if this channel is an affiliate
      Returns:
    • isPartner

      public boolean isPartner()
      Indicates if this channel is a partner
      Returns:
    • isAffiliateOrPartner

      public boolean isAffiliateOrPartner()
      Indicates if this channel is either an affiliate or a partner
      Returns: