Class DonationEvent

java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent

public final class DonationEvent extends AbstractChannelEvent
This event gets called when a user receives a donation from any source.
  • Constructor Details

    • DonationEvent

      public DonationEvent(EventChannel channel, EventUser user, String source, Currency currency, Double amount, String message)
      Event Constructor
      Parameters:
      channel - The channel that this event originates from.
      user - The user who triggered the event.
      source - The source, where information was received from.
      currency - The currency, that money was donated in.
      amount - The donated amount.
      message - The plain text of the message.
  • Method Details