Class PrivateMessageReceivedEvent

    • Constructor Detail

      • PrivateMessageReceivedEvent

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

      • getAuthor

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