Pycord-Development / pycord

Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python
https://docs.pycord.dev
MIT License
2.7k stars 458 forks source link

Quest Profile Badge #2514

Closed Areoxy closed 1 month ago

Areoxy commented 1 month ago

Summary

Add the quest profile badge to public_flags

What is the feature request for?

The core library

The Problem

Just add the new quest profile badge to the public_flags. Because now you can't fetch this badge from members data.

The Ideal Solution

Just add the new quest profile badge to the public_flags. Because now you can't fetch this badge from members data.

The Current Solution

No response

Additional Context

No response

Lulalaby commented 1 month ago

That's not how badges nor public_flags work. These kind of badges aren't flags anymore since a few years(?). It's only visible for the /api/v10/users/:user_id/profile route, which is inaccessible for bots (user-only route).

{
    "user": {
        // ..
     },
    "connected_accounts": [
        // ..
      ],
    "premium_since": "",
    "premium_type": 2,
    "user_profile": {
        // ..
     },
    "badges": [
        // ..
        {
            "id": "quest_completed",
            "description": "Completed a Quest",
            "icon": "7d9ae358c8c5e118768335dbe68b4fb8",
            "link": "https://discord.com/settings/inventory"
        }
    ]
}