diff --git a/discord/client.py b/discord/client.py index e8ea5f8e..04292f62 100644 --- a/discord/client.py +++ b/discord/client.py @@ -852,11 +852,11 @@ class Client: if maybe_user is not None: return maybe_user - else: - try: - return await self.fetch_user(id) - except NotFound: - return None + + try: + return await self.fetch_user(id) + except NotFound: + return None def get_emoji(self, id: int, /) -> Optional[Emoji]: """Returns an emoji with the given ID.