aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar vivax3794 <[email protected]>2019-08-14 02:12:48 +0200
committerGravatar GitHub <[email protected]>2019-08-14 02:12:48 +0200
commit3fffa3a0a5f8d819ecd11baf5b0907f983a737f0 (patch)
tree3149d2a8317f92d80f63578decd97cc9fd3ac378
parentApply suggestions from code review (diff)
Apply suggestions from code review
Co-Authored-By: Mark <[email protected]>
-rw-r--r--bot/seasons/evergreen/minesweeper.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/seasons/evergreen/minesweeper.py b/bot/seasons/evergreen/minesweeper.py
index b742512d..27ca9675 100644
--- a/bot/seasons/evergreen/minesweeper.py
+++ b/bot/seasons/evergreen/minesweeper.py
@@ -38,7 +38,7 @@ class CoordinateConverter(commands.Converter):
digit, letter = sorted(coordinate.lower())
- if not letter.isdigit():
+ if not digit.isdigit():
raise commands.BadArgument
x = ord(letter) - ord('a')
@@ -140,8 +140,8 @@ class Minesweeper(commands.Cog):
chat_msg = None
await ctx.author.send(
- f"Play by typing: `{Client.prefix}reveal xy [xy]` or `{Client.prefix}flag xy [xy]` \n"
- f"Close the game with `{Client.prefix}end`\n"
+ f"Play by typing: `{Client.prefix}ms reveal xy [xy]` or `{Client.prefix}ms flag xy [xy]` \n"
+ f"Close the game with `{Client.prefix}ms end`\n"
)
dm_msg = await ctx.author.send(self.format_for_discord(revealed_board))