From 61800ee752439d05c40e1dc2486d5d0ca01b9d8d Mon Sep 17 00:00:00 2001 From: Bharadwaj Raju Date: Tue, 17 Dec 2024 23:15:21 +0530 Subject: [PATCH] &aoc join -> /aoc join in the error message (#138) --- bot/exts/advent_of_code/_helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/exts/advent_of_code/_helpers.py b/bot/exts/advent_of_code/_helpers.py index 3374225..9d016ed 100644 --- a/bot/exts/advent_of_code/_helpers.py +++ b/bot/exts/advent_of_code/_helpers.py @@ -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__) @@ -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)