Class PrivateMessageReceivedEvent

    • Constructor Detail

      • PrivateMessageReceivedEvent

        public PrivateMessageReceivedEvent​(@Nonnull
                                           JDA api,
                                           long responseNumber,
                                           @Nonnull
                                           Message message)
    • Method Detail

      • getMessage

        @Nonnull
        public Message getMessage()
        Returns:
        The Message
      • getAuthor

        @Nonnull
        public User getAuthor()
        The author for this message
        Returns:
        The author for this message
        See Also:
        User