Class TwitchSubscriberEvent
java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.twitch.TwitchEvent
tv.phantombot.event.twitch.subscriber.TwitchSubscriberEvent
- Direct Known Subclasses:
TwitchPrimeSubscriberEvent
,TwitchReSubscriberEvent
-
Constructor Summary
ConstructorsConstructorDescriptionTwitchSubscriberEvent
(String subscriber, String plan, String months, String message) Class constructor. -
Method Summary
Modifier and TypeMethodDescriptionMethod that returns the cumulative months.getPlan()
Method that returns the subscription plan.Method that returns the subscriber's name.
-
Constructor Details
-
TwitchSubscriberEvent
Class constructor.- Parameters:
subscriber
-plan
-months
-message
-
-
-
Method Details
-
getSubscriber
Method that returns the subscriber's name.- Returns:
- subscriber
-
getUsername
-
getPlan
Method that returns the subscription plan. (1000, 2000, 3000 and Prime)- Returns:
- plan
-
getMonths
Method that returns the cumulative months.- Returns:
- months
-
getMessage
-