Package tv.phantombot.event.twitch.bits
Class TwitchBitsEvent
java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.twitch.TwitchEvent
tv.phantombot.event.twitch.bits.TwitchBitsEvent
-
Constructor Summary
ConstructorsConstructorDescriptionTwitchBitsEvent
(String username, String bits, String message) Class constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetBits()
Method that returns the amount of bit the user cheered.* Method that returns the message that was sent as part of the Bits tag.Method that returns the username who cheered.
-
Constructor Details
-
TwitchBitsEvent
Class constructor.- Parameters:
username
-bits
-message
-
-
-
Method Details
-
getUsername
Method that returns the username who cheered.- Returns:
- username
-
getBits
Method that returns the amount of bit the user cheered.- Returns:
- bits
-
getMessage
* Method that returns the message that was sent as part of the Bits tag.- Returns:
- message
-