server
server copied to clipboard
Get member permissions through guild member API
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.
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