From 3aeee34e931d00818e3aae20c73663800c777063 Mon Sep 17 00:00:00 2001 From: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:07:34 +0100 Subject: [PATCH] fix: set size to `1024` for `_from_user_banner` Signed-off-by: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com> --- discord/asset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/asset.py b/discord/asset.py index 46b564cbe2..18897fc6ed 100644 --- a/discord/asset.py +++ b/discord/asset.py @@ -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, )