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

Handle and update more user settings #4

Merged
merged 4 commits into from May 27, 2022
Merged

Conversation

cryptoAlgorithm
Copy link
Member

Previously, only the guild ordering user setting was handled. This PR handles some other settings, and stores the whole user settings struct in the gateway cache. It also merges the updated user setting with the old struct when an update event is received since Discord only sends partial user settings in the update event.

@cryptoAlgorithm cryptoAlgorithm merged commit db617ad into main May 27, 2022
@cryptoAlgorithm cryptoAlgorithm deleted the user-settings branch May 27, 2022 13:02
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.

None yet

1 participant