Skip to content

Commit

Permalink
Mark certain activities as custom
Browse files Browse the repository at this point in the history
  • Loading branch information
CominAtYou committed Jun 21, 2024
1 parent 78b5f80 commit 6c1edc9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.cominatyou</groupId>
<artifactId>hildabot</artifactId>
<version>2.6.2</version>
<version>2.6.3</version>

<name>hildabot</name>
<url>https://github.com/CominAtYou/Hildabot</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class ActivitySwapper {
new Activity(ActivityType.PLAYING, "with the trolls"),
new Activity(ActivityType.PLAYING, "with Twig"),
new Activity(ActivityType.PLAYING, "with the water spirits"),
new Activity(ActivityType.PLAYING, "Version " + Version.VERSION_STRING),
new Activity(ActivityType.CUSTOM, "Version " + Version.VERSION_STRING),
new Activity(ActivityType.COMPETING, "a dodgeball game"),
new Activity(ActivityType.LISTENING, "the Rat King's secrets"),
new Activity(ActivityType.LISTENING, "Alfur lecture"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ protected static void setNationalDebtStatus(DiscordApi client) {
final double debt = resultObject.getDouble("totalDebt");
final String debtString = new DecimalFormat("###,###.##").format(debt);

client.updateActivity(ActivityType.PLAYING, "the current national debt of the United States is $" + debtString);
client.updateActivity(ActivityType.CUSTOM, "The current national debt of the United States is $" + debtString);
}
}
4 changes: 2 additions & 2 deletions src/main/java/com/cominatyou/util/versioning/Version.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.cominatyou.util.versioning;

public class Version {
public static final String VERSION = "2.6.2";
public static final String BUILD_NUMBER = "11G048";
public static final String VERSION = "2.6.3";
public static final String BUILD_NUMBER = "11G049";
public static final String VERSION_STRING = String.format("%s (%s)", VERSION, BUILD_NUMBER);
}

0 comments on commit 6c1edc9

Please sign in to comment.