Skip to content

Discord Account Profile Picture Resource Not Found #64

Description

@ZackiBoiz

Currently, the user's Discord avatar is stored as a direct URL to the Discord resource. But if the user changes their profile picture, the resource is no longer valid.

The Discord avatar URL scheme is https://cdn.discordapp.com/avatars/<user_id>/<filename>.<extension>, where the filename can change at any point. This causes the image to not render (shown below).

Image

To solve this, the Discord user ID should be stored, and then from there the avatar should be fetched with the Discord API.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions