diff --git a/src/main/java/cc/fascinated/bat/common/ChannelUtils.java b/src/main/java/cc/fascinated/bat/common/ChannelUtils.java index 9cdda56..3807056 100644 --- a/src/main/java/cc/fascinated/bat/common/ChannelUtils.java +++ b/src/main/java/cc/fascinated/bat/common/ChannelUtils.java @@ -19,7 +19,7 @@ public class ChannelUtils { * @return the user with the given id */ private static TextChannel getTextChannel(String id, int retries) { - if (retries >= 25) { + if (retries >= 10) { log.error("Failed to find user \"{}\" after {} retries.", id, retries); return null; } diff --git a/src/main/java/cc/fascinated/bat/common/UserUtils.java b/src/main/java/cc/fascinated/bat/common/UserUtils.java index 15febb3..fa0bd45 100644 --- a/src/main/java/cc/fascinated/bat/common/UserUtils.java +++ b/src/main/java/cc/fascinated/bat/common/UserUtils.java @@ -19,7 +19,7 @@ public class UserUtils { * @return the user with the given id */ private static User getUser(String id, int retries) { - if (retries >= 25) { + if (retries >= 10) { log.error("Failed to find user \"{}\" after {} retries.", id, retries); return null; }