Class IrcClearchatEvent

java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.irc.IrcEvent
tv.phantombot.event.irc.clearchat.IrcClearchatEvent

public class IrcClearchatEvent extends IrcEvent
  • Constructor Details

    • IrcClearchatEvent

      public IrcClearchatEvent(TwitchSession session, String username, String reason, String duration)
      Class constructor
      Parameters:
      session -
      username -
      reason -
      duration -
  • Method Details

    • getUsername

      public String getUsername()
      Method that returns the user who was timed-out
      Returns:
      username
    • getReason

      public String getReason()
      Method that returns the reason the user was timed-out
      Returns:
      reason
    • getDuration

      public String getDuration()
      Method that returns the length the user was timed-out
      Returns:
      duration