qeled / discordie

Predictable JavaScript abstractions for Discord API.
https://qeled.github.io/discordie/
BSD 2-Clause "Simplified" License
190 stars 45 forks source link

Check if user has Nitro? #69

Closed brawaru closed 7 years ago

brawaru commented 7 years ago

Can you add property premium to IUser and IGuildMember?

Discord already returns these properties: image

brawaru commented 7 years ago

Yep, you're right about userbot. But this still can be added with warning about unavailability for bots.

qeled commented 7 years ago

It was implemented but never pushed to any of the public branches because:

  1. Some people might want to spam this endpoint and could get banned;
  2. Ratelimits for user-only endpoints are not exposed (and even if known, should not be hardcoded);