Class IrcClearchatEvent
java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.irc.IrcEvent
tv.phantombot.event.irc.clearchat.IrcClearchatEvent
-
Constructor Summary
ConstructorsConstructorDescriptionIrcClearchatEvent
(TwitchSession session, String username, String reason, String duration) Class constructor -
Method Summary
Modifier and TypeMethodDescriptionMethod that returns the length the user was timed-outMethod that returns the reason the user was timed-outMethod that returns the user who was timed-outMethods inherited from class tv.phantombot.event.irc.IrcEvent
getSession
-
Constructor Details
-
IrcClearchatEvent
Class constructor- Parameters:
session
-username
-reason
-duration
-
-
-
Method Details
-
getUsername
Method that returns the user who was timed-out- Returns:
- username
-
getReason
Method that returns the reason the user was timed-out- Returns:
- reason
-
getDuration
Method that returns the length the user was timed-out- Returns:
- duration
-