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

Consider storing image hash in database #3

Open
patrickklaeren opened this issue Jun 17, 2021 · 0 comments
Open

Consider storing image hash in database #3

patrickklaeren opened this issue Jun 17, 2021 · 0 comments
Labels
Priority: Low Low priority

Comments

@patrickklaeren
Copy link
Owner

We do not store the image hash for a user's avatar in the database. This has the disadvantage of requiring an API call to the Guild endpoint whenever we want to display the avatar of a user.

Storing the hash would have several benefits:

  • Reduced API call to Discord just for the hash
  • Ability to provide audit logs when users change their avatars, check diff
@patrickklaeren patrickklaeren added the Priority: Low Low priority label Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Low priority
Projects
None yet
Development

No branches or pull requests

1 participant