Skip to content

Commit

Permalink
&aoc join -> /aoc join in the error message (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharadwaj-raju authored Dec 17, 2024
1 parent b31ab5c commit 61800ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/exts/advent_of_code/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import bot
from bot.bot import SirRobin
from bot.constants import AdventOfCode, Bot, Channels, Colours, Roles
from bot.constants import AdventOfCode, Channels, Colours, Roles
from bot.exts.advent_of_code import _caches

log = logging.get_logger(__name__)
Expand Down Expand Up @@ -188,7 +188,7 @@ def _format_leaderboard(leaderboard: dict[str, dict], self_placement_name: str |
raise commands.BadArgument(
"Sorry, your profile does not exist in this leaderboard."
"\n\n"
f"To join our leaderboard, run the command `{Bot.prefix}aoc join`."
"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)
Expand Down

0 comments on commit 61800ee

Please sign in to comment.