Skip to content

Commit 28500ce

Browse files
authored
chore: remove type hints for consistency
Signed-off-by: Dorukyum <[email protected]>
1 parent cf9f2f2 commit 28500ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/asset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ def _from_guild_avatar(
216216
def _from_guild_banner(
217217
cls, state, guild_id: int, member_id: int, banner: str
218218
) -> Asset:
219-
animated: bool = banner.startswith("a_")
220-
format: str = "gif" if animated else "png"
219+
animated = banner.startswith("a_")
220+
format = "gif" if animated else "png"
221221
return cls(
222222
state,
223223
url=f"{cls.BASE}/guilds/{guild_id}/users/{member_id}/banners/{banner}.{format}?size=1024",

0 commit comments

Comments
 (0)