[FEAT] Implement custom bot status support
This commit is contained in:
@@ -5,7 +5,7 @@ version_patch=36
|
|||||||
shade_group=com.hypherionmc.sdlink.shaded.
|
shade_group=com.hypherionmc.sdlink.shaded.
|
||||||
|
|
||||||
# Core Dependencies
|
# Core Dependencies
|
||||||
jda=5.0.0-beta.13
|
jda=5.0.0-beta.16
|
||||||
chewtils=2.0-SNAPSHOT
|
chewtils=2.0-SNAPSHOT
|
||||||
webhooks=0.7.5
|
webhooks=0.7.5
|
||||||
commons4=4.4
|
commons4=4.4
|
||||||
|
@@ -37,11 +37,11 @@ public class BotConfigSettings {
|
|||||||
public static class BotStatus {
|
public static class BotStatus {
|
||||||
@Path("status")
|
@Path("status")
|
||||||
@SpecComment("Do not add Playing. A status to display on the bot. You can use %players% and %maxplayers% to show the number of players on the server")
|
@SpecComment("Do not add Playing. A status to display on the bot. You can use %players% and %maxplayers% to show the number of players on the server")
|
||||||
public String botStatus = "Minecraft";
|
public String botStatus = "Enjoying Minecraft with %players%/%maxplayers% players";
|
||||||
|
|
||||||
@Path("botStatusType")
|
@Path("botStatusType")
|
||||||
@SpecComment("The type of the status displayed on the bot. Valid entries are: PLAYING, STREAMING, WATCHING, LISTENING")
|
@SpecComment("The type of the status displayed on the bot. Valid entries are: PLAYING, STREAMING, WATCHING, LISTENING, CUSTOM_STATUS")
|
||||||
public Activity.ActivityType botStatusType = Activity.ActivityType.PLAYING;
|
public Activity.ActivityType botStatusType = Activity.ActivityType.CUSTOM_STATUS;
|
||||||
|
|
||||||
@Path("botStatusStreamingURL")
|
@Path("botStatusStreamingURL")
|
||||||
@SpecComment("The URL that will be used when the \"botStatusType\" is set to \"STREAMING\", required to display as \"streaming\".")
|
@SpecComment("The URL that will be used when the \"botStatusType\" is set to \"STREAMING\", required to display as \"streaming\".")
|
||||||
|
Reference in New Issue
Block a user