Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deserialization of nullable field "premium_type" #210

Merged
merged 1 commit into from
Oct 18, 2022

Conversation

sll552
Copy link
Contributor

@sll552 sll552 commented Oct 8, 2022

I came across this issue because of increasing reports of users that their presence is not showing up lately. I guess the Discord API now actually omits the premium_type field at least if the user is not subscribed.

In VS i could not find any reference to this member of the User class, is it even used or could it be removed entirely?

sll552 added a commit to sll552/DiscordBee that referenced this pull request Oct 8, 2022
sll552 added a commit to sll552/DiscordBee that referenced this pull request Oct 8, 2022
sll552 added a commit to sll552/DiscordBee that referenced this pull request Oct 8, 2022
@Lachee Lachee merged commit 06fe8c2 into Lachee:master Oct 18, 2022
@Lachee
Copy link
Owner

Lachee commented Oct 18, 2022

Thank you for your contribution. This is now released in v1.1.1 ✨🌟 🎉

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.

2 participants