Skip to content

Fetch Discord avatar using app / bot creds instead of user creds #26

Description

@Tina-otoge

We can fetch any Discord user's profile info using app creds, so we do not need to rely on a working user session access token and refresh token

TODO:

  • Rename services.discord.API.get_user method to get_me or similar
  • Implement get_user(user_id) -> API.User
  • Use the new method in services.discord.set_avatar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions