Top-gg-Community / java-sdk

An API wrapper for https://top.gg/api/docs that works in Java
Apache License 2.0
36 stars 22 forks source link

Library broken? #10

Closed stijnb1234 closed 3 years ago

stijnb1234 commented 3 years ago

I'm using the setStats() method, with a timer. But the server count keeps staying on N/A.

DiscordBotListAPI discordBotListAPI = new DiscordBotListAPI.Builder()
    .token("")
    .botId("")
    .build();

int serverCount = jda.getGuilds().size();

discordBotListAPI.setStats(serverCount);

I don't get any errors in my console.