diff options
-rw-r--r-- | bot/exts/fun/hangman.py | 2 | ||||
-rw-r--r-- | bot/exts/fun/madlibs.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/hangman.py b/bot/exts/fun/hangman.py index 6c4ed69c..f385a955 100644 --- a/bot/exts/fun/hangman.py +++ b/bot/exts/fun/hangman.py @@ -110,7 +110,7 @@ class Hangman(commands.Cog): try: message = await self.bot.wait_for( - event="message", + "message", timeout=60.0, check=check ) diff --git a/bot/exts/fun/madlibs.py b/bot/exts/fun/madlibs.py index 5f3e0572..075dde75 100644 --- a/bot/exts/fun/madlibs.py +++ b/bot/exts/fun/madlibs.py @@ -93,7 +93,7 @@ class Madlibs(commands.Cog): await original_message.edit(embed=madlibs_embed) try: - message = await self.bot.wait_for(event="message", check=author_check, timeout=TIMEOUT) + message = await self.bot.wait_for("message", check=author_check, timeout=TIMEOUT) except TimeoutError: timeout_embed = discord.Embed( title=choice(NEGATIVE_REPLIES), |