Klasse GiftSubscriptionsEvent

Alle implementierten Schnittstellen:
com.github.philippheuer.events4j.api.domain.IEvent

public final class GiftSubscriptionsEvent extends AbstractChannelEvent
This event gets called when a user gifts x subscriptions to *random* users in chat.

This event will be called simultaneously with the chat announcement, not necessarily when the user presses the subscription button.

  • Konstruktordetails

    • GiftSubscriptionsEvent

      public GiftSubscriptionsEvent(EventChannel channel, EventUser user, String subscriptionPlan, Integer count, Integer totalCount)
      Event Constructor
      Parameter:
      channel - The channel that this event originates from.
      user - The user that gifted the subscriptions
      subscriptionPlan - The subscription plan
      count - The total amount of subs gifted
      totalCount - The amount the user gifted in total (all time)
  • Methodendetails