aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar Janine vN <[email protected]>2021-12-04 11:00:48 -0500
committerGravatar Janine vN <[email protected]>2021-12-04 11:00:48 -0500
commit03b5464e6e37f625ba7a590d45120f4b46b1d0aa (patch)
treebca91a40a4635d8982a889f7e002faf64dcc1ecf /bot
parentAdjust variable name for clarity and add space (diff)
Add more information to `.aoc lb` error embed
Advent of Code Leaderboard BadArgument error embed now mentions to join the leaderboard and to wait up to 30 minutes if you've joined recently.
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/events/advent_of_code/_helpers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bot/exts/events/advent_of_code/_helpers.py b/bot/exts/events/advent_of_code/_helpers.py
index 35258544..807cc275 100644
--- a/bot/exts/events/advent_of_code/_helpers.py
+++ b/bot/exts/events/advent_of_code/_helpers.py
@@ -216,6 +216,9 @@ def _format_leaderboard(leaderboard: dict[str, dict], self_placement_name: str =
if self_placement_name and not self_placement_exists:
raise commands.BadArgument(
"Sorry, your profile does not exist in this leaderboard."
+ "\n\n"
+ "To join our leaderboard, run the command `.aoc join`."
+ " If you've joined recently, please wait up to 30 minutes for our leaderboard to refresh."
)
return "\n".join(leaderboard_lines)