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

Add GuildMember Banner #197

Open
wants to merge 1 commit into
base: 1.6.x
Choose a base branch
from

Conversation

Doc94
Copy link
Member

@Doc94 Doc94 commented Oct 22, 2024

No description provided.

Copy link
Member

@Azn9 Azn9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can bots access this? I thought that banners are part of the "profile" and thus only accessible for oauth clients

@Doc94
Copy link
Member Author

Doc94 commented Oct 22, 2024

Can bots access this? I thought that banners are part of the "profile" and thus only accessible for oauth clients

Yes i test with my user in guild.
https://discord.com/api/v9/guilds/:guild/members/:user

{
    "avatar": "8391e1d899f0a0b0c29c4ef3a718ac73",
    "banner": null,
    "communication_disabled_until": null,
    "flags": 514,
    "joined_at": "2018-04-05T05:42:18.199000+00:00",
    "nick": null,
    "pending": false,
    "premium_since": null,
    "roles": [
        "911413250879528960",
        "431437787481505794",
        "1208500159202201701",
        "911398002361520198",
        "629714077702160424",
        "983184100192030760"
    ],
    "unusual_dm_activity_until": null,
    "user": {
        "id": "216316781483130880",
        "username": "doc",
        "avatar": "c3a9b68e95f4a8d4d8ff49345ca62c52",
        "discriminator": "0",
        "public_flags": 4194562,
        "flags": 4194562,
        "banner": "350f1d70ddc02a0082084879bb15e7ba",
        "accent_color": null,
        "global_name": "Doc",
        "avatar_decoration_data": {
            "asset": "a_66604bb5c9351541f30c20a4e78c239c",
            "sku_id": "1293373563239272458",
            "expires_at": null
        },
        "banner_color": null,
        "clan": null
    },
    "mute": false,
    "deaf": false
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants