Skip to content

Commit 4c7ea70

Browse files
Merge pull request #448 from danthe1st/custom-status
update JDA, use new custom status
2 parents 220171b + 38d0fcd commit 4c7ea70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies {
3131

3232
// DIH4JDA (Command Framework) & JDA
3333
implementation("com.github.DynxstyGIT:DIH4JDA:120a15ad2e")
34-
implementation("net.dv8tion:JDA:5.0.0-beta.12") {
34+
implementation("net.dv8tion:JDA:5.0.0-beta.15") {
3535
exclude(module = "opus-java")
3636
}
3737

src/main/java/net/javadiscord/javabot/tasks/PresenceUpdater.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public PresenceUpdater(List<Function<JDA, Activity>> activities, long delay, Tim
8080
public static PresenceUpdater standardActivities() {
8181
return new PresenceUpdater(List.of(
8282
jda -> Activity.watching(String.format("%s members", jda.getGuilds().stream().mapToLong(Guild::getMemberCount).sum())),
83-
jda -> Activity.watching("Use /report, 'Report User' or 'Report Message' to report disruptive behaviour!")
83+
jda -> Activity.customStatus("Use /report, 'Report User' or 'Report Message' to report disruptive behaviour!")
8484
), 35, TimeUnit.SECONDS);
8585
}
8686

0 commit comments

Comments
 (0)