aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/seasons/evergreen/minesweeper.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/minesweeper.py b/bot/seasons/evergreen/minesweeper.py
index 9333bb68..6f124c63 100644
--- a/bot/seasons/evergreen/minesweeper.py
+++ b/bot/seasons/evergreen/minesweeper.py
@@ -36,7 +36,11 @@ class CoordinateConverter(commands.Converter):
if not 2 <= len(coordinate) <= 3:
raise commands.BadArgument('Invalid co-ordinate provided')
- digit, letter = sorted(coordinate.lower())
+ if len(coordinate) == 3:
+ digit = "10"
+ letter = sorted(coordinate.lower())[-1]
+ else:
+ digit, letter = sorted(coordinate.lower())
if not digit.isdigit():
raise commands.BadArgument