diff options
author | 2019-08-13 02:09:52 +0200 | |
---|---|---|
committer | 2019-08-13 02:09:52 +0200 | |
commit | 13c81c808728b58b532fa19e5d1bd9abb0986943 (patch) | |
tree | 585f6a21514e6cf5b4fd994e91b9a16dbe5a436b /bot | |
parent | fixed bugs and turned get_cords into a converter (diff) |
Apply suggestions from code review
Co-Authored-By: Mark <[email protected]>
Diffstat (limited to 'bot')
-rw-r--r-- | bot/seasons/evergreen/minesweeper.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/seasons/evergreen/minesweeper.py b/bot/seasons/evergreen/minesweeper.py index 9e7fad12..30c871ee 100644 --- a/bot/seasons/evergreen/minesweeper.py +++ b/bot/seasons/evergreen/minesweeper.py @@ -139,7 +139,7 @@ class Minesweeper(commands.Cog): game["revealed"] = game["board"] await self.reload_board(ctx) await ctx.author.send(":fire: You lost :fire: ") - await game["chat_msg"].channel.send(f":fire: {ctx.author.mention} just lost minesweeper :fire:") + await game["chat_msg"].channel.send(f":fire: {ctx.author.mention} just lost Minesweeper! :fire:") del self.games[ctx.author.id] async def won(self, ctx: commands.Context) -> None: @@ -147,8 +147,8 @@ class Minesweeper(commands.Cog): game = self.games[ctx.author.id] game["revealed"] = game["board"] await self.reload_board(ctx) - await ctx.author.send(":tada: You won! :tada: ") - await game["chat_msg"].channel.send(f":tada: {ctx.author.mention} just won minesweeper :tada:") + await ctx.author.send(":tada: You won! :tada: ") + await game["chat_msg"].channel.send(f":tada: {ctx.author.mention} just won Minesweeper! :tada:") del self.games[ctx.author.id] def reveal_zeros(self, revealed: GameBoard, board: GameBoard, x: int, y: int) -> None: @@ -203,7 +203,7 @@ class Minesweeper(commands.Cog): game["revealed"] = game["board"] await self.reload_board(ctx) await ctx.author.send(":no_entry: you canceled the game :no_entry:") - await game["chat_msg"].channel.send(f"{ctx.author.mention} just canceled minesweeper") + await game["chat_msg"].channel.send(f"{ctx.author.mention} just canceled Minesweeper.") del self.games[ctx.author.id] |