aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/easter/easter_riddle.py
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2019-10-24 16:38:01 -0400
committerGravatar MarkKoz <[email protected]>2019-12-03 22:12:37 -0800
commit1a3b2061fd1e68a53d809454e93d881683c956cf (patch)
tree6bcd4e5930aac233a6bccf487738b20909d997d8 /bot/seasons/easter/easter_riddle.py
parentBump pillow from 6.1.0 to 6.2.0 (diff)
Misc Bug Fixes
* Fix typo in easter riddle type hint * Fix incorrect `PIL.Image` type hint (vs. `PIL.Image.Image`)
Diffstat (limited to 'bot/seasons/easter/easter_riddle.py')
-rw-r--r--bot/seasons/easter/easter_riddle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/easter/easter_riddle.py b/bot/seasons/easter/easter_riddle.py
index 4b98b204..f5b1aac7 100644
--- a/bot/seasons/easter/easter_riddle.py
+++ b/bot/seasons/easter/easter_riddle.py
@@ -83,7 +83,7 @@ class EasterRiddle(commands.Cog):
self.current_channel = None
@commands.Cog.listener()
- async def on_message(self, message: discord.Messaged) -> None:
+ async def on_message(self, message: discord.Message) -> None:
"""If a non-bot user enters a correct answer, their username gets added to self.winners."""
if self.current_channel != message.channel:
return