Skip to content

Commit f1e2cf8

Browse files
committed
deprecate Site.DISCORDBOTS_ORG
1 parent 484a465 commit f1e2cf8

File tree

1 file changed

+6
-2
lines changed
  • src/main/java/com/andre601/javabotblockapi

1 file changed

+6
-2
lines changed

src/main/java/com/andre601/javabotblockapi/Site.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ public enum Site {
4949
DISCORD_BOATS("discord.boats"),
5050
/**
5151
* <a href="https://discordbots.org" target="_blank">discordbots.org</a>
52+
*
53+
* @deprecated Use {@link #TOP_GG TOP_GG} insetad.
54+
* <br>This option still works, but is no longer supported, nor recommended!
5255
*/
56+
@Deprecated
5357
DISCORDBOTS_ORG("discordbots.org"),
5458
/**
5559
* <a href="https://discordbotlist.com" target="_blank">discordbotlist.com</a>
@@ -95,11 +99,11 @@ public enum Site {
9599
MYTHICALBOTS_XYZ("mythicalbots.xyz"),
96100
/**
97101
* <a href="https://top.gg" target="_blank">top.gg</a>
98-
* <br>Note that top.gg is discordbots.org (new domain). {@link #DISCORDBOTS_ORG DISCORDBOTS_ORG} will still work.
102+
* <br>Note that top.gg is discordbots.org (new domain).
99103
*
100104
* @since v3.0.0
101105
*/
102-
TOP_GG("discordbots.org"),
106+
TOP_GG("top.gg"),
103107
/**
104108
* <a href="https://wonderbotlist.com" target="_blank">wonderbotlist.com</a>
105109
*/

0 commit comments

Comments
 (0)