don't log every channel find
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
This commit is contained in:
parent
ece36f7f27
commit
fa1f18e11b
@ -25,7 +25,9 @@ public class ChannelUtils {
|
||||
if (channel == null) {
|
||||
return getTextChannel(id, retries + 1);
|
||||
}
|
||||
log.info("Found text channel \"{}\" after {} retries.", channel.getName(), retries);
|
||||
if (retries >= 5) {
|
||||
log.info("Found text channel \"{}\" after {} retries.", channel.getName(), retries);
|
||||
}
|
||||
return channel;
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,9 @@ public class UserUtils {
|
||||
if (user == null) {
|
||||
return getUser(id, retries + 1);
|
||||
}
|
||||
log.info("Found user \"{}\" after {} retries.", user.getGlobalName(), retries);
|
||||
if (retries >= 5) {
|
||||
log.info("Found user \"{}\" after {} retries.", user.getGlobalName(), retries);
|
||||
}
|
||||
return user;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user