Skip to content

Commit 3aeee34

Browse files
fix: set size to 1024 for _from_user_banner
Signed-off-by: Matty Widdop <[email protected]>
1 parent 28500ce commit 3aeee34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/asset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def _from_user_banner(cls, state, user_id: int, banner_hash: str) -> Asset:
284284
format = "gif" if animated else "png"
285285
return cls(
286286
state,
287-
url=f"{cls.BASE}/banners/{user_id}/{banner_hash}.{format}?size=512",
287+
url=f"{cls.BASE}/banners/{user_id}/{banner_hash}.{format}?size=1024",
288288
key=banner_hash,
289289
animated=animated,
290290
)

0 commit comments

Comments
 (0)