diff options
Diffstat (limited to 'bot/exts/fun/battleship.py')
-rw-r--r-- | bot/exts/fun/battleship.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bot/exts/fun/battleship.py b/bot/exts/fun/battleship.py index a209ff02..d9b2b58a 100644 --- a/bot/exts/fun/battleship.py +++ b/bot/exts/fun/battleship.py @@ -355,13 +355,11 @@ class Battleship(commands.Cog): return True - if ( + return bool( user.id == ctx.author.id and str(reaction.emoji) == CROSS_EMOJI and reaction.message.id == announcement.id - ): - return True - return False + ) def already_playing(self, player: discord.Member) -> bool: """Check if someone is already in a game.""" |