Merge pull request #104 from BigBotNetwork/greg-dev

pls work
This commit is contained in:
Skidder 2019-11-25 06:39:31 -08:00 committed by GitHub
commit 01c7357dcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,6 +167,18 @@ public class BotList {
// Discord Bots // 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();
}
} }
} }