aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-05-07 17:51:40 +0100
committerGravatar GitHub <[email protected]>2021-05-07 17:51:40 +0100
commite929d6b07ee5676d6f73fe7fc9d86db8214f6d22 (patch)
tree343c50f2f72ebdceade8af338676bc56f4b62fb9
parentCorrect grammer in the new mosaic command output (diff)
Update return type hint to reflect new behaviour.
Co-authored-by: ToxicKidz <[email protected]>
-rw-r--r--bot/exts/evergreen/avatar_modification/avatar_modify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/avatar_modification/avatar_modify.py b/bot/exts/evergreen/avatar_modification/avatar_modify.py
index 9cc2e6b4..693d15c7 100644
--- a/bot/exts/evergreen/avatar_modification/avatar_modify.py
+++ b/bot/exts/evergreen/avatar_modification/avatar_modify.py
@@ -66,7 +66,7 @@ class AvatarModify(commands.Cog):
def __init__(self, bot: commands.Bot) -> None:
self.bot = bot
- async def _fetch_user(self, user_id: int) -> t.Optional[discord.Member]:
+ async def _fetch_user(self, user_id: int) -> t.Optional[discord.User]:
"""
Fetches a user and handles errors.