From e929d6b07ee5676d6f73fe7fc9d86db8214f6d22 Mon Sep 17 00:00:00 2001 From: ChrisJL Date: Fri, 7 May 2021 17:51:40 +0100 Subject: Update return type hint to reflect new behaviour. Co-authored-by: ToxicKidz <78174417+ToxicKidz@users.noreply.github.com> --- bot/exts/evergreen/avatar_modification/avatar_modify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot') 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. -- cgit v1.2.3