nyxx-discord / nyxx

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

Add `GuildDeleteEvent.wasRemoved` field #645

Closed MCausc78 closed 5 months ago

MCausc78 commented 5 months ago

Description

As title says, from docs: If the unavailable field is not set, the user was removed from the guild.

Connected issues & other potential problems

None

Type of change

Please delete options that are not relevant.

Checklist:

abitofevrything commented 5 months ago

This is already supported by checking isUnavailable == false. If you think this is confusing, feel free to open a PR to nyxx_extensions that adds this alias.