From 13c81c808728b58b532fa19e5d1bd9abb0986943 Mon Sep 17 00:00:00 2001 From: vivax3794 <51753506+vivax3794@users.noreply.github.com> Date: Tue, 13 Aug 2019 02:09:52 +0200 Subject: Apply suggestions from code review Co-Authored-By: Mark --- bot/seasons/evergreen/minesweeper.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bot') 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] -- cgit v1.2.3