aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2022-10-02 16:00:04 +0100
committerGravatar GitHub <[email protected]>2022-10-02 16:00:04 +0100
commit0b240f2ee9c9178c223c6cf9675684354dc3e231 (patch)
tree52b9a682e2d7a1b31987454f1b5ff88d857db09b
parentRemove extra space. (diff)
parentMerge pull request #1110 from python-discord/fix-issue-1106 (diff)
Merge branch 'main' into fix-GH-1108
-rw-r--r--bot/exts/fun/hangman.py2
-rw-r--r--bot/exts/fun/madlibs.py2
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),