Skip to content

Commit ccfa199

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 52e3cde commit ccfa199

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

discord/asset.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ def _from_guild_avatar(
213213
)
214214

215215
@classmethod
216-
def _from_guild_banner(cls, state, guild_id: int, member_id: int, banner: str) -> Asset:
216+
def _from_guild_banner(
217+
cls, state, guild_id: int, member_id: int, banner: str
218+
) -> Asset:
217219
animated: bool = banner.startswith("a_")
218220
format: str = "gif" if animated else "png"
219221
return cls(

discord/member.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ def display_banner(self) -> Asset | None:
620620
def guild_banner(self) -> Asset | None:
621621
"""Returns an :class:`Asset` for the guild banner
622622
the member has. If unavailable, ``None`` is returned.
623-
623+
624624
.. versionadded:: 2.7
625625
"""
626626
if self._user.banner is None:

0 commit comments

Comments
 (0)