how to make a bot to wait in jda code example
Example: how to make a bot to wait in jda
// Using Rest Action
channel.sendMessage("Your Message").queue( (m) -> m.delete().queueAfter(5, TimeUnit.SECONDS));
// Using Rest Action
channel.sendMessage("Your Message").queue( (m) -> m.delete().queueAfter(5, TimeUnit.SECONDS));