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

"tags" property in Role model #139

Open
i2070p opened this issue Oct 31, 2020 · 0 comments
Open

"tags" property in Role model #139

i2070p opened this issue Oct 31, 2020 · 0 comments

Comments

@i2070p
Copy link

i2070p commented Oct 31, 2020

hello,

I noticed that discord api (v6) returns following result for a single role:

https://discord.com/api/v6/guilds/:guildId/roles

 {
        "id": "234567890123456789",
        "name": "somename",
        "permissions": 805315601,
        "position": 5,
        "color": 0,
        "hoist": false,
        "managed": true,
        "mentionable": false,
        "tags": {
            "bot_id": "123456789012345678"
        },
        "permissions_new": "805315601"
    }

I need to access to 'tags' but RestCord\Model\Permissions\Role doesn't have this property (RestCord\Model\Guild\Role too).

Could you add "tags" property to mentioned models in one of future versions?

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

No branches or pull requests

1 participant