From e9031d34d54368813318d2312c82bf6dd73818a8 Mon Sep 17 00:00:00 2001 From: Arthur Jovart Date: Sun, 29 Aug 2021 23:51:39 +0200 Subject: [PATCH] Fix coding-style. --- discord/client.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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.