Skip to content

Commit eb8675d

Browse files
committed
Version 6.6.2
- Site updated: - Deprecated DISCORDAPPS_DEV - Deprecated INFINITYBOTLIST_COM - Added INFINITYBOTLIST_XYZ - Removed JavaBotBlockAPIInfo class
1 parent 2f8ea86 commit eb8675d

File tree

4 files changed

+26
-63
lines changed

4 files changed

+26
-63
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins{
77
id 'com.github.johnrengelman.shadow' version '5.2.0'
88
}
99

10-
def ver = new Version(major: 6, minor: 6, patch: 1)
10+
def ver = new Version(major: 6, minor: 6, patch: 2)
1111

1212
allprojects {
1313
apply plugin: 'maven-publish'

core/src/main/java/org/botblock/javabotblockapi/core/Info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class Info{
3939
/**
4040
* Patch version of the Wrapper.
4141
*/
42-
public static final int PATCH = 1;
42+
public static final int PATCH = 2;
4343

4444
/**
4545
* Full version in the format {@code major.minor.patch}.

core/src/main/java/org/botblock/javabotblockapi/core/JavaBotBlockAPIInfo.java

Lines changed: 0 additions & 60 deletions
This file was deleted.

core/src/main/java/org/botblock/javabotblockapi/core/Site.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,13 @@ public class Site{
175175
* <li>GET</li>
176176
* <li>POST</li>
177177
* </ul>
178+
*
179+
* @deprecated No longer available.
178180
*/
179-
public static final Site DISCORDAPPS_DEV = new Site("discordapps.dev", HttpMethod.GET, HttpMethod.POST);
181+
@Deprecated
182+
@DeprecatedSince(major = 6, minor = 6, patch = 2)
183+
@PlannedRemoval(major = 6, minor = 6, patch = 4)
184+
public static final Site DISCORDAPPS_DEV = new Site("discordapps.dev");
180185

181186
/**
182187
* <a href="https://discord.boats" target="_blank">discord.boats</a>
@@ -287,9 +292,27 @@ public class Site{
287292
* <li>GET</li>
288293
* <li>POST</li>
289294
* </ul>
295+
*
296+
* @deprecated Domain changed. Use {@link #INFINITYBOTLIST_XYZ INFINITYBOTLIST_XYZ} instead
290297
*/
298+
@Deprecated
299+
@DeprecatedSince(major = 6, minor = 5, patch = 2, replacements = {"INFINITYBOTLIST_XYZ"})
300+
@PlannedRemoval(minor = 6, major = 5, patch = 4)
291301
public static final Site INFINITYBOTLIST_COM = new Site("infinitybotlist.com", HttpMethod.GET, HttpMethod.POST);
292302

303+
/**
304+
* <a href="https://infinitybotlist.xyz" target="_blank">infinitybotlist.xyz</a>
305+
*
306+
* <p>Supported methods:
307+
* <ul>
308+
* <li>GET</li>
309+
* <li>POST</li>
310+
* </ul>
311+
*
312+
* @since 6.6.2
313+
*/
314+
public static final Site INFINITYBOTLIST_XYZ = new Site("infinitybotlist.xyz", HttpMethod.GET, HttpMethod.POST);
315+
293316
/**
294317
* <a href ="https://paradisebots.net" target="_blank">paradisebots.net</a>
295318
*

0 commit comments

Comments
 (0)