public class MessageReceivedEvent extends Event
Constructor and Description |
---|
MessageReceivedEvent(JDA api,
int responseNumber,
Message message) |
Modifier and Type | Method and Description |
---|---|
User |
getAuthor() |
MessageChannel |
getChannel() |
Guild |
getGuild() |
Message |
getMessage() |
PrivateChannel |
getPrivateChannel() |
TextChannel |
getTextChannel() |
boolean |
isPrivate() |
getJDA, getResponseNumber
public Message getMessage()
public User getAuthor()
public boolean isPrivate()
public TextChannel getTextChannel()
public PrivateChannel getPrivateChannel()
public MessageChannel getChannel()
public Guild getGuild()