discord jda get message by id 1

discord jda get message by id

Message message = channel.retrieveMessageById(id).complete();

Here is what the above code is Doing:
1. We’re getting the channel by its ID.
2. We’re getting the message by its ID.
3. We’re deleting the message.

Similar Posts