Class ChannelMessageEvent

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

public final class ChannelMessageEvent extends AbstractChannelMessageEvent
This event gets called when a message is received in a channel.
  • Constructor Details

    • ChannelMessageEvent

      public ChannelMessageEvent(EventChannel channel, IRCMessageEvent messageEvent, EventUser user, String message)
      Event Constructor
      Parameters:
      channel - The channel that this event originates from.
      messageEvent - The raw message event
      user - The user who triggered the event.
      message - The plain text of the message.
  • Method Details