Answers for "get ID from message in discord JDA"

1

java discord bot get id of message it just sent

channel.sendMessage(content).queue((message) -> {
    long messageId = message.getIdLong();
    // use messageId here
});
Posted by: Guest on August-19-2020

Code answers related to "get ID from message in discord JDA"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language