Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ private void sendLeaderboardCompletedDiscordMessage(final DiscordClub club) {

The new leaderboard just started, so best of luck to everyone!

View the full leaderboard for %s users at https://codebloom.patinanetwork.org/leaderboard?%s=true

Happy LeetCoding,
Codebloom
<%s>
Expand All @@ -133,6 +135,8 @@ private void sendLeaderboardCompletedDiscordMessage(final DiscordClub club) {
.map(UserWithScore::getTotalScore)
.map(String::valueOf)
.orElse("N/A"),
club.getName(),
club.getTag().name().toLowerCase(),
serverUrlUtils.getUrl());

var guildId = club.getDiscordClubMetadata().flatMap(DiscordClubMetadata::getGuildId);
Expand Down Expand Up @@ -202,6 +206,8 @@ private void sendWeeklyLeaderboardUpdateDiscordMessage(final DiscordClub club) {

Just as a reminder, there's %d day(s), %d hour(s), and %d minute(s) left until the leaderboard closes, so keep grinding!

View the full leaderboard for %s users at https://codebloom.patinanetwork.org/leaderboard?%s=true


See you next week!

Expand All @@ -228,6 +234,8 @@ private void sendWeeklyLeaderboardUpdateDiscordMessage(final DiscordClub club) {
daysLeft,
hoursLeft,
minutesLeft,
club.getName(),
club.getTag().name().toLowerCase(),
serverUrlUtils.getUrl());

var guildId = club.getDiscordClubMetadata().flatMap(DiscordClubMetadata::getGuildId);
Expand Down