forked from Fascinated/Bat
disable user and guild load log
This commit is contained in:
parent
c31ec09e0f
commit
e8fa4c72dd
@ -89,7 +89,7 @@ public class GuildService extends ListenerAdapter implements EventListener {
|
|||||||
if (document != null) {
|
if (document != null) {
|
||||||
BatGuild guild = new BatGuild(id, document);
|
BatGuild guild = new BatGuild(id, document);
|
||||||
guilds.put(id, guild);
|
guilds.put(id, guild);
|
||||||
log.info("Loaded guild \"{}\" in {}ms", guild.getName(), System.currentTimeMillis() - before);
|
// log.info("Loaded guild \"{}\" in {}ms", guild.getName(), System.currentTimeMillis() - before);
|
||||||
return guild;
|
return guild;
|
||||||
}
|
}
|
||||||
// New guild
|
// New guild
|
||||||
|
@ -63,7 +63,7 @@ public class UserService implements EventListener {
|
|||||||
if (document != null) {
|
if (document != null) {
|
||||||
BatUser batUser = new BatUser(id, user, document);
|
BatUser batUser = new BatUser(id, user, document);
|
||||||
users.put(id, batUser);
|
users.put(id, batUser);
|
||||||
log.info("Loaded user \"{}\" in {}ms", batUser.getName(),System.currentTimeMillis() - before);
|
// log.info("Loaded user \"{}\" in {}ms", batUser.getName(),System.currentTimeMillis() - before);
|
||||||
return batUser;
|
return batUser;
|
||||||
}
|
}
|
||||||
// New user
|
// New user
|
||||||
|
Loading…
Reference in New Issue
Block a user