diff --git a/DiscordDivaBot/munimuni.jar b/DiscordDivaBot/munimuni.jar index 11f8a64..8661aa3 100644 Binary files a/DiscordDivaBot/munimuni.jar and b/DiscordDivaBot/munimuni.jar differ diff --git a/DiscordDivaBot/src/sig/DivaBot.java b/DiscordDivaBot/src/sig/DivaBot.java index f348b24..3e59777 100644 --- a/DiscordDivaBot/src/sig/DivaBot.java +++ b/DiscordDivaBot/src/sig/DivaBot.java @@ -4,6 +4,7 @@ import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Random; +import java.util.concurrent.TimeUnit; import javax.security.auth.login.LoginException; @@ -55,8 +56,9 @@ public class DivaBot extends ListenerAdapter{ lastMessage=ev.getMessage().getContentDisplay(); } if (lastMessageCount==2) { + ev.getChannel().sendTyping(); ev.getChannel().sendMessage(ev.getMessage()) - .queue(); + .queueAfter(650+(10*lastMessage.length()),TimeUnit.MILLISECONDS); } }