Skip to content

Commit 9867704

Browse files
Added Report Presence Message
1 parent 74d578f commit 9867704

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ public PresenceUpdater(List<Function<JDA, Activity>> activities, long delay, Tim
7575
* has all the necessary properties defined to reasonable defaults.
7676
*/
7777
public static PresenceUpdater standardActivities() {
78-
var format = "%s members";
7978
return new PresenceUpdater(List.of(
80-
jda -> Activity.watching(String.format(format, jda.getGuilds().stream().mapToLong(Guild::getMemberCount).sum()))
79+
jda -> Activity.watching(String.format("%s members", jda.getGuilds().stream().mapToLong(Guild::getMemberCount).sum())),
80+
jda -> Activity.watching("Use /report, 'Report User' or 'Report Message' to report disruptive behaviour!")
8181
), 35, TimeUnit.SECONDS);
8282
}
8383

0 commit comments

Comments
 (0)