Skip to content

Commit 61800ee

Browse files
&aoc join -> /aoc join in the error message (#138)
1 parent b31ab5c commit 61800ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bot/exts/advent_of_code/_helpers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import bot
1616
from bot.bot import SirRobin
17-
from bot.constants import AdventOfCode, Bot, Channels, Colours, Roles
17+
from bot.constants import AdventOfCode, Channels, Colours, Roles
1818
from bot.exts.advent_of_code import _caches
1919

2020
log = logging.get_logger(__name__)
@@ -188,7 +188,7 @@ def _format_leaderboard(leaderboard: dict[str, dict], self_placement_name: str |
188188
raise commands.BadArgument(
189189
"Sorry, your profile does not exist in this leaderboard."
190190
"\n\n"
191-
f"To join our leaderboard, run the command `{Bot.prefix}aoc join`."
191+
"To join our leaderboard, run the command `/aoc join`."
192192
" If you've joined recently, please wait up to 30 minutes for our leaderboard to refresh."
193193
)
194194
return "\n".join(leaderboard_lines)

0 commit comments

Comments
 (0)