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

Add size parameters to IconURL and BannerURL #1301

Merged
merged 5 commits into from
Jan 17, 2023
Merged

Add size parameters to IconURL and BannerURL #1301

merged 5 commits into from
Jan 17, 2023

Conversation

sentinelb51
Copy link
Contributor

Adds guild icon size parameter, guild banner size parameter, missing ClientStatus struct

Adds guild icon size parameter, guild banner size parameter, missing ClientStatus struct
Copy link
Collaborator

@FedorLap2006 FedorLap2006 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In terms of ClientStatus, we'll probably favor #1303, since it also updates the State.

P.S. And it not having the comment is the reason why our linter is angry 😄

@FedorLap2006 FedorLap2006 added this to the v0.27.0 milestone Dec 22, 2022
Revert addition of ClientStatus since another PR was already merged with
it.
Move logic for icon URLs in various functions into a single iconURL
function. Similar to banner and avatar functions.
Copy link
Collaborator

@FedorLap2006 FedorLap2006 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've done a few of my own changes. In particular refactored out the changes into a iconURL function. And added the documentation. Hope you don't mind.

Thanks for your contribution nonetheless!

@FedorLap2006 FedorLap2006 changed the title Add missing parameters/structs Add size parameters to IconURL and BannerURL Jan 17, 2023
@FedorLap2006 FedorLap2006 merged commit cb59c78 into bwmarrin:master Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants