Answers for "jda get id of message sent"

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 "jda get id of message sent"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language