This should work 🤔
This commit is contained in:
parent
71c7c99a08
commit
e07a821302
1 changed files with 12 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue