Package tv.phantombot.event.irc.channel
Class IrcChannelUserModeEvent
java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.irc.IrcEvent
tv.phantombot.event.irc.channel.IrcChannelEvent
tv.phantombot.event.irc.channel.IrcChannelUserModeEvent
-
Constructor Summary
ConstructorsConstructorDescriptionIrcChannelUserModeEvent
(TwitchSession session, String user, String mode, boolean add) Class constructor -
Method Summary
Methods inherited from class tv.phantombot.event.irc.IrcEvent
getSession
-
Constructor Details
-
IrcChannelUserModeEvent
Class constructor- Parameters:
session
-user
-mode
-add
-
-
-
Method Details
-
getUser
Method that returns the user whose mode changed- Returns:
- user
-
getMode
Method that returns the user's mode.- Returns:
- mode
-
getAdd
public boolean getAdd()Method that returns if the user got OP or not.- Returns:
- add
-