Skip to content

Switch from fetch_member to fetch_user in avatar_mod#725

Merged
Xithrius merged 6 commits into
mainfrom
change-to-fetch-user
May 10, 2021
Merged

Switch from fetch_member to fetch_user in avatar_mod#725
Xithrius merged 6 commits into
mainfrom
change-to-fetch-user

Conversation

@ChrisLovering
Copy link
Copy Markdown
Member

Description

This is because discord.py would populate the user portion of the fetched member with cached information which would cause the avatar url not to be updated as we had intended with that function.

Did you:

This is because discord.py would populate the user portion of the fetched member with cached information
which would cause the avatar url not to be updated as we had intended with that function
This is useful for when we round up the number of squares used, users can still see how many were
actually used.
Comment thread bot/exts/evergreen/avatar_modification/avatar_modify.py Outdated
Co-authored-by: ToxicKidz <78174417+ToxicKidz@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@ToxicKidz ToxicKidz left a comment

Choose a reason for hiding this comment

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

Thanks, it works well! :shipit:

Copy link
Copy Markdown
Contributor

@vcokltfre vcokltfre left a comment

Choose a reason for hiding this comment

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

LGTM!

@Xithrius Xithrius enabled auto-merge May 10, 2021 02:00
@Xithrius Xithrius merged commit d76f6d6 into main May 10, 2021
@Xithrius Xithrius deleted the change-to-fetch-user branch May 10, 2021 02:00
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.

4 participants