Forgot to queue.

master
Joshua Sigona 4 years ago
parent 4b5a007da5
commit 728cb3b55b
  1. BIN
      DiscordDivaBot/munimuni.jar
  2. 2
      DiscordDivaBot/src/sig/DivaBot.java

Binary file not shown.

@ -56,7 +56,7 @@ public class DivaBot extends ListenerAdapter{
lastMessage=ev.getMessage().getContentDisplay(); lastMessage=ev.getMessage().getContentDisplay();
} }
if (lastMessageCount==2) { if (lastMessageCount==2) {
ev.getChannel().sendTyping(); ev.getChannel().sendTyping().queue();
ev.getChannel().sendMessage(ev.getMessage()) ev.getChannel().sendMessage(ev.getMessage())
.queueAfter(650+(10*lastMessage.length()),TimeUnit.MILLISECONDS); .queueAfter(650+(10*lastMessage.length()),TimeUnit.MILLISECONDS);
} }

Loading…
Cancel
Save