[FEAT] Implement custom bot status support

This commit is contained in:
2023-10-29 15:47:54 +02:00
parent e4f2462c0c
commit 26dbd8c7ef
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ version_patch=36
shade_group=com.hypherionmc.sdlink.shaded.
# Core Dependencies
jda=5.0.0-beta.13
jda=5.0.0-beta.16
chewtils=2.0-SNAPSHOT
webhooks=0.7.5
commons4=4.4

View File

@@ -37,11 +37,11 @@ public class BotConfigSettings {
public static class BotStatus {
@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")
public String botStatus = "Minecraft";
public String botStatus = "Enjoying Minecraft with %players%/%maxplayers% players";
@Path("botStatusType")
@SpecComment("The type of the status displayed on the bot. Valid entries are: PLAYING, STREAMING, WATCHING, LISTENING")
public Activity.ActivityType botStatusType = Activity.ActivityType.PLAYING;
@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.CUSTOM_STATUS;
@Path("botStatusStreamingURL")
@SpecComment("The URL that will be used when the \"botStatusType\" is set to \"STREAMING\", required to display as \"streaming\".")