Class PrivateMessageEvent

java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.common.events.TwitchEvent
com.github.twitch4j.common.events.user.PrivateMessageEvent
All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent

public final class PrivateMessageEvent extends TwitchEvent
This event gets called when the bot gets a private message.
  • Constructor Details

    • PrivateMessageEvent

      public PrivateMessageEvent(EventUser user, String message, Set<CommandPermission> permissions)
      Event Constructor
      Parameters:
      user - The user who triggered the event.
      message - The plain text of the message.
      permissions - The permissions of the triggering user.
  • Method Details