Fix coding-style.
This commit is contained in:
@@ -852,11 +852,11 @@ class Client:
|
|||||||
|
|
||||||
if maybe_user is not None:
|
if maybe_user is not None:
|
||||||
return maybe_user
|
return maybe_user
|
||||||
else:
|
|
||||||
try:
|
try:
|
||||||
return await self.fetch_user(id)
|
return await self.fetch_user(id)
|
||||||
except NotFound:
|
except NotFound:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def get_emoji(self, id: int, /) -> Optional[Emoji]:
|
def get_emoji(self, id: int, /) -> Optional[Emoji]:
|
||||||
"""Returns an emoji with the given ID.
|
"""Returns an emoji with the given ID.
|
||||||
|
Reference in New Issue
Block a user