From cae4f1ccdcd1463bedb97815beccf199c9f9020f Mon Sep 17 00:00:00 2001 From: Dan Hess Date: Sat, 7 Nov 2020 15:31:40 -0600 Subject: [PATCH] Correct when to start checking reused words --- cogs/games.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cogs/games.py b/cogs/games.py index 8179e3b..54e0f2b 100644 --- a/cogs/games.py +++ b/cogs/games.py @@ -75,15 +75,12 @@ class Games(commands.Cog): if last_letter in ("ん", "ン"): break # Cannot reuuse words; though make sure this doesn't get caught on the very first usage - if last_word in words_used and len(words_used) > 1: + if last_word in words_used and len(words_used) >= 1: break # If we're here, then the last letter used was valid words_used.append(last_word) await message.add_reaction("✅") - await ctx.send( - f"{words_used} - {last_letter} - {last_author} - {last_word}" - ) message = await ctx.bot.wait_for("message", check=check) # If we're here, game over, someone messed up