Compare commits

..

1 Commits

Author SHA1 Message Date
renovate[bot]
7c00626a27
⬆️ Update dependency io.micrometer:micrometer-registry-prometheus to v1.10.6 2023-04-10 16:49:04 +00:00
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-log4j2") implementation("org.springframework.boot:spring-boot-starter-log4j2")
implementation("org.springframework.boot:spring-boot-starter-oauth2-client") implementation("org.springframework.boot:spring-boot-starter-oauth2-client")
implementation('org.springframework.boot:spring-boot-starter-actuator') implementation('org.springframework.boot:spring-boot-starter-actuator')
implementation('io.micrometer:micrometer-registry-prometheus:1.11.0') implementation('io.micrometer:micrometer-registry-prometheus:1.10.6')
implementation('org.springdoc:springdoc-openapi-ui:1.6.9') implementation('org.springdoc:springdoc-openapi-ui:1.6.9')
implementation('org.springdoc:springdoc-openapi-security:1.6.9') implementation('org.springdoc:springdoc-openapi-security:1.6.9')

View File

@ -49,7 +49,8 @@ public class Init {
logger.info("Connected on " + jda.getGuilds().size() + " Guilds:"); logger.info("Connected on " + jda.getGuilds().size() + " Guilds:");
for (Guild server : jda.getGuilds()) { for (Guild server : jda.getGuilds()) {
server.loadMembers(); server.loadMembers().get();
logger.info("... " + server.getName() + " " + server.getMembers().size() + " Members");
} }
return jda; return jda;
} catch (LoginException | InterruptedException e) { } catch (LoginException | InterruptedException e) {