This should work 🤔

This commit is contained in:
GregTCLTK 2019-11-25 14:14:46 +01:00
parent 71c7c99a08
commit e07a821302
No known key found for this signature in database
GPG key ID: A91BADE5C070FF67

View file

@ -167,6 +167,18 @@ public class BotList {
// Discord Bots
Request discordbots = new Request.Builder()
.url(DiscordBots)
.post(body)
.addHeader("Authorization", config.getDiscordBotsToken())
.build();
try {
new OkHttpClient().newCall(discordbots).execute().close();
System.out.println("Successfully posted count to Discord Bots!");
} catch (IOException e) {
e.printStackTrace();
}
}
}