Skip to content

Commit ea54acd

Browse files
committed
Version 5.1.14
1 parent 146ce95 commit ea54acd

File tree

4 files changed

+42
-30
lines changed

4 files changed

+42
-30
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: 5, minor: 1, revision: 13)
10+
def ver = new Version(major: 5, minor: 1, revision: 14)
1111

1212
group = "org.botblock"
1313
version = "$ver"

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

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ public enum Site {
4141
/**
4242
* <a href="https://arcane-botcenter.xyz" target="_blank">arcane-botcenter.xyz</a>
4343
*
44-
* @deprecated Use {@link #ARCANE_CENTER_XYZ ARCANE_CENTER_XYZ} instead.
44+
* @deprecated Since: 5.1.13
45+
* <br>Replacement: {@link #ARCANE_CENTER_XYZ ARCANE_CENTER_XYZ}
4546
*/
4647
@Deprecated
47-
@DeprecatedSince(version = "5.1.13", replacements = "#ARCANE_CENTER_XYZ")
48+
@DeprecatedSince(version = "5.1.13", replacements = {"#ARCANE_CENTER_XYZ"})
4849
ARCANE_BOTCENTER_XYZ("arcane-botcenter.xyz"),
4950

5051
/**
@@ -98,7 +99,12 @@ public enum Site {
9899

99100
/**
100101
* <a href="https://discordbotreviews.xyz" target="_blank">discordbotreviews.xyz</a>
102+
*
103+
* @deprecated Since: 5.1.14
104+
* <br>Replacement: {@link #DISCORDLIST_CO DISCORDLIST_CO}
101105
*/
106+
@Deprecated
107+
@DeprecatedSince(version = "5.1.14", replacements = {"#DISCORDLIST_CO"})
102108
DISCORDBOTREVIEWS_XYZ("discordbotreviews.xyz"),
103109

104110
/**
@@ -111,6 +117,11 @@ public enum Site {
111117
*/
112118
DISCORD_BOTS_GG("discord.bots.gg"),
113119

120+
/**
121+
* <a href="https://discordbots.fun" target="_blank">discordbots.fun</a>
122+
*/
123+
DISCORDBOTS_FUN("discordbots.fun"),
124+
114125
/**
115126
* <a href="https://discordextremelist.xyz" target="_blank">discordextremelist.xyz</a>
116127
*
@@ -119,14 +130,14 @@ public enum Site {
119130
DISCORDEXTREMELIST_XYZ("discordextremelist.xyz"),
120131

121132
/**
122-
* <a href="https://discordbots.fun" target="_blank">discordbots.fun</a>
133+
* <a href="https://divinediscordbots.com" target="_blank">divinediscordbots.com</a>
123134
*/
124-
DISCORDBOTS_FUN("discordbots.fun"),
135+
DIVINEDISCORDBOTS_COM("divinediscordbots.com"),
125136

126137
/**
127-
* <a href="https://divinediscordbots.com" target="_blank">divinediscordbots.com</a>
138+
* <a href="https://discordlist.co" target="_blank">discordlist.co</a>
128139
*/
129-
DIVINEDISCORDBOTS_COM("divinediscordbots.com"),
140+
DISCORDLIST_CO("discordlist.co"),
130141

131142
/**
132143
* <a href="https://glennbotlist.xyz" target="_blank">glennbotlist.xyz</a>
@@ -148,20 +159,6 @@ public enum Site {
148159
*/
149160
SPACE_BOT_LIST_ORG("space-bot-list.org"),
150161

151-
/**
152-
* <a href="https://top.gg" target="_blank">top.gg</a>
153-
* <br>Note that top.gg is discordbots.org (new domain).
154-
* <br><b>This field may no longer be used! See deprecated note about why.</b>
155-
*
156-
* @since 3.0.0
157-
*
158-
* @deprecated Top.gg no longer allows requests to their site being made through BotBlock.
159-
* <br><a href="https://imgur.com/sd50Ze4" target="_blank">Proof</a>
160-
*/
161-
@Deprecated
162-
@DeprecatedSince(version = "5.1.6")
163-
TOP_GG("top.gg"),
164-
165162
/**
166163
* <a href="https://wonderbotlist.com" target="_blank">wonderbotlist.com</a>
167164
*/

src/main/java/org/botblock/javabotblockapi/requests/GetListAction.java

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,8 @@ public enum ApiField{
645645
/**
646646
* API field to return the URL to list all bots of a bot list.
647647
*
648-
* @deprecated Replaced with {@link #URL_ALL URL_ALL}
648+
* @deprecated Since: 5.2.0
649+
* <br>Replacement: {@link #URL_ALL URL_ALL}
649650
*/
650651
@Deprecated
651652
@DeprecatedSince(version = "5.2.0", replacements = {"#URL_ALL"})
@@ -654,7 +655,8 @@ public enum ApiField{
654655
/**
655656
* API field to return the URL to the API documentation of the bot list.
656657
*
657-
* @deprecated Replaced with {@link #URL_DOCS URL_DOCS}
658+
* @deprecated Since: 5.2.0
659+
* <br>Replacement: {@link #URL_DOCS URL_DOCS}
658660
*/
659661
@Deprecated
660662
@DeprecatedSince(version = "5.2.0", replacements = {"#URL_DOCS"})
@@ -663,7 +665,8 @@ public enum ApiField{
663665
/**
664666
* API field to return the URL used to GET information about a bot.
665667
*
666-
* @deprecated Replaced with {@link #URL_GET URL_GET}
668+
* @deprecated Since: 5.2.0
669+
* <br>Replacement: {@link #URL_GET URL_GET}
667670
*/
668671
@Deprecated
669672
@DeprecatedSince(version = "5.2.0", replacements = {"#URL_GET"})
@@ -672,7 +675,8 @@ public enum ApiField{
672675
/**
673676
* API field to return the URL used to POST information from a bot.
674677
*
675-
* @deprecated Replaced with {@link #URL_POST URL_POST}
678+
* @deprecated Since: 5.2.0
679+
* <br>Replacement: {@link #URL_POST URL_POST}
676680
*/
677681
@Deprecated
678682
@DeprecatedSince(version = "5.2.0", replacements = {"#URL_POST"})
@@ -683,7 +687,8 @@ public enum ApiField{
683687
/**
684688
* Name of the field for posting the server count (i.e. {@code server_count})
685689
*
686-
* @deprecated Replaced with {@link #STRING_SERVER_COUNT STRING_SERVER_COUNT}
690+
* @deprecated Since: 5.2.0
691+
* <br>Replacement: {@link #STRING_SERVER_COUNT STRING_SERVER_COUNT}
687692
*/
688693
@Deprecated
689694
@DeprecatedSince(version = "5.2.0", replacements = {"#STRING_SERVER_COUNT"})
@@ -692,7 +697,8 @@ public enum ApiField{
692697
/**
693698
* Name of the field for posting the shard id (i.e. {@code shard_id})
694699
*
695-
* @deprecated Replaced with {@link #STRING_SHARD_ID STRING_SHARD_ID}
700+
* @deprecated Since: 5.2.0
701+
* <br>Replacement: {@link #STRING_SHARD_ID STRING_SHARD_ID}
696702
*/
697703
@Deprecated
698704
@DeprecatedSince(version = "5.2.0", replacements = {"#STRING_SHARD_ID"})
@@ -701,7 +707,8 @@ public enum ApiField{
701707
/**
702708
* Name of the field for posting the shard count (i.e. {@code shard_count})
703709
*
704-
* @deprecated Replaced with {@link #STRING_SHARD_COUNT STRING_SHARD_COUNT}
710+
* @deprecated Since: 5.2.0
711+
* <br>Replacement: {@link #STRING_SHARD_COUNT STRING_SHARD_COUNT}
705712
*/
706713
@Deprecated
707714
@DeprecatedSince(version = "5.2.0", replacements = {"#STRING_SHARD_COUNT"})
@@ -710,7 +717,8 @@ public enum ApiField{
710717
/**
711718
* Name of the field for posting the different shard info (i.e. {@code shards})
712719
*
713-
* @deprecated Replaced with {@link #STRING_SHARDS STRING_SHARDS}
720+
* @deprecated Since: 5.2.0
721+
* <br>Replacement: {@link #STRING_SHARDS STRING_SHARDS}
714722
*/
715723
@Deprecated
716724
@DeprecatedSince(version = "5.2.0", replacements = {"#STRING_SHARDS"})

wiki/Changelog.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,18 @@ This page lists all versions of JavaBotBlockAPI and the changes being made.
1111
Split up the different `GET` actions into bot and list related actions.
1212
Many new `GET` actions added for list related stuff.
1313

14+
### 5.1.14
15+
- Site updated:
16+
- Added [`DISCORDLIST_CO`](https://discordlist.co)
17+
- Deprecated `DISCORDBOTREVIEW_XYZ`
18+
- Removed `TOP_GG`
19+
1420
### 5.1.13
1521
- Site updated:
1622
- Added [`ARCANE_CENTER_XYZ`](https://arcane-center.xyz)
1723
- Deprecated `ARCANE_BOT_CENTER_XYZ`
18-
- Removed `TOP_GG` and `DISCORDBOTS_GG`
24+
- Removed `DISCORDBESTBOTS_XYZ` and `DISCORDBOTS_GG`
25+
- Changed ApiField enum names and deprecated old ones.
1926

2027
### 5.1.12
2128
- Improve format of `RatelimitedException#getMessage()`

0 commit comments

Comments
 (0)