nyxx-discord / nyxx

Wrapper around Discord API for Dart
Apache License 2.0
326 stars 49 forks source link

Fix OAuth2 requiring `identify` scope, and add ability to quickly list guilds with `Nyxx.connectRest` #634

Closed MCausc78 closed 7 months ago

MCausc78 commented 7 months ago
  1. Add ability to quickly list guilds with Nyxx.connectRest/Nyxx.connectOAuth2 (fix https://github.com/nyxx-discord/nyxx/issues/630) (UserGuild structure)
  2. Make Nyxx.connectOAuth2 no longer throw if identify scope is missing

I could make OAuth2Manager class and put fetchCurrentOAuth2Information to it, but its seems overkill

Type of change

Checklist: