Discord jda get last message author code example
Example: java discord bot get id of message it just sent
channel.sendMessage(content).queue((message) -> {
long messageId = message.getIdLong();
// use messageId here
});
channel.sendMessage(content).queue((message) -> {
long messageId = message.getIdLong();
// use messageId here
});