Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Member.display_banner #2556

Merged
merged 20 commits into from
Aug 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: set size to 1024 for _from_user_banner
Signed-off-by: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com>
  • Loading branch information
MattyTheHacker authored Aug 22, 2024
commit 3aeee34e931d00818e3aae20c73663800c777063
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
Loading