FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Get member permissions through guild member API by ochen1 · Pull Request #1024 · spacebarchat/server · GitHub

Get member permissions through guild member API - #1024

Open
ochen1 wants to merge 1 commit into
spacebarchat:masterfrom
ochen1:patch-1
Open

Get member permissions through guild member API#1024
ochen1 wants to merge 1 commit into
spacebarchat:masterfrom
ochen1:patch-1

Conversation

ochen1 commented Apr 9, 2023

Copy link
Copy Markdown
Contributor

https://discord.com/developers/docs/resources/guild#guild-member-object

Guild member object has an optional permissions field that is super useful for bot development.

ochen1 changed the title Add ability to get member permissions through guild member API Get member permissions through guild member API Apr 9, 2023

Copy link
Copy Markdown
Member

this route is wrong currently, but not in that way. sending GET guilds/:id/members/:id doesn't actually return their permissions on discord.com. it's wrong because we don't send member roles, their user obj, and some other props. if you'd like to open a new PR to do that, I'd appreciate it. otherwise I can just do that later.

or are you suggesting that this route return their permissions anyway, as an api extension? I'm not sure how useful it'd be given current bot libs don't expect it

Copy link
Copy Markdown
Member
As far as I can see, this is incorrect

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL