Remove old botlist
This commit is contained in:
parent
9a7a2d4d4e
commit
59742edb97
1 changed files with 0 additions and 16 deletions
|
|
@ -39,7 +39,6 @@ public class BotList {
|
||||||
private static String DiscordBots = "https://top.gg/api/bots/637002314162372639/stats";
|
private static String DiscordBots = "https://top.gg/api/bots/637002314162372639/stats";
|
||||||
private static String BotListSpace = "https://api.botlist.space/v1/bots/637002314162372639";
|
private static String BotListSpace = "https://api.botlist.space/v1/bots/637002314162372639";
|
||||||
private static String DiscordBots2 = "https://discord.bots.gg/api/v1/bots/637002314162372639/stats";
|
private static String DiscordBots2 = "https://discord.bots.gg/api/v1/bots/637002314162372639/stats";
|
||||||
private static String CloudList = "https://www.cloudlist.xyz/api/stats/637002314162372639";
|
|
||||||
private static String ArcaneBotCenter = "https://arcane-center.xyz/api/637002314162372639/stats";
|
private static String ArcaneBotCenter = "https://arcane-center.xyz/api/637002314162372639/stats";
|
||||||
|
|
||||||
private Config config;
|
private Config config;
|
||||||
|
|
@ -197,21 +196,6 @@ public class BotList {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
// CloudList
|
|
||||||
|
|
||||||
Request cloudlist = new Request.Builder()
|
|
||||||
.url(CloudList)
|
|
||||||
.post(body)
|
|
||||||
.addHeader("Authorization", config.getCloudListToken())
|
|
||||||
.build();
|
|
||||||
|
|
||||||
try {
|
|
||||||
new OkHttpClient().newCall(cloudlist).execute().close();
|
|
||||||
System.out.println("Successfully posted count to the CloudList!");
|
|
||||||
} catch (IOException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Arcane Bot Center
|
// Arcane Bot Center
|
||||||
|
|
||||||
Request arcane = new Request.Builder()
|
Request arcane = new Request.Builder()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue