Skip to content

Commit

Permalink
fix: set size to 1024 for _from_user_banner
Browse files Browse the repository at this point in the history
Signed-off-by: Matty Widdop <[email protected]>
  • Loading branch information
MattyTheHacker authored Aug 22, 2024
1 parent 28500ce commit 3aeee34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def _from_user_banner(cls, state, user_id: int, banner_hash: str) -> Asset:
format = "gif" if animated else "png"
return cls(
state,
url=f"{cls.BASE}/banners/{user_id}/{banner_hash}.{format}?size=512",
url=f"{cls.BASE}/banners/{user_id}/{banner_hash}.{format}?size=1024",
key=banner_hash,
animated=animated,
)
Expand Down

0 comments on commit 3aeee34

Please sign in to comment.