Skip to content

Discord still uses the wrong user-agent when fetching image previews #6385

Closed Answered by devsnek
xPaw asked this question in API Feature Requests & Ideas
Discussion options

You must be logged in to vote

The original reasoning given in the linked issue is still correct:

This is an intentional design decision, and is working as intended. When Discord crawls a URL we perform that action as a bot. However, when we proxy images we are acting in response to a user loading that image. Because of this distinction we provide a user agent of a user, not a bot.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@xPaw
Comment options

@ishields
Comment options

@SkyLeite
Comment options

Answer selected by appellation
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants