diff options
| -rw-r--r-- | bot/exts/events/advent_of_code/_cog.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/bot/exts/events/advent_of_code/_cog.py b/bot/exts/events/advent_of_code/_cog.py index 0f6739fc..9ae2d059 100644 --- a/bot/exts/events/advent_of_code/_cog.py +++ b/bot/exts/events/advent_of_code/_cog.py @@ -224,7 +224,9 @@ class AdventOfCode(commands.Cog):          Additionally you can specify an `aoc_name` that will append the          specified profile's personal stats to the top of the leaderboard          """ -        # Strip quotes from the self placement name if needed (e.g. "My Name" -> My Name) +        # Strip quotes from the AoC username if needed (e.g. "My Name" -> My Name) +        # Note: only strips one layer of quotes to allow names with quotes at the start and end +        #      e.g. ""My Name"" -> "My Name"          if aoc_name and aoc_name.startswith('"') and aoc_name.endswith('"'):              aoc_name = aoc_name[1:-1] | 
