Fix coding-style.

This commit is contained in:
Arthur Jovart
2021-08-29 23:51:39 +02:00
parent f552b77c59
commit e9031d34d5

View File

@@ -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.