-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
List of activities is required when updating status #858
Labels
c-model
Affects the model crate
d-api
Change related to Discord's API.
m-breaking change
Breaks the public API.
Comments
7596ff
added a commit
to 7596ff/twilight
that referenced
this issue
Jun 6, 2021
This PR removes the `Some` from `UpdateStatusInfo`, as the list is now required. It also validates that at least one activity is present when using the `new` method. Fixes twilight-rs#858.
Erk-
pushed a commit
that referenced
this issue
Jun 7, 2021
chore!(gateway,http): activities is required when updating presence This PR removes the `Some` from `UpdateStatusInfo`, as the list is now required. It also validates that at least one activity is present when using the `new` method. Fixes #858.
7596ff
added a commit
to 7596ff/twilight
that referenced
this issue
Jun 13, 2021
…wilight-rs#891) This PR removes the `Some` from `UpdateStatusInfo`, as the list is now required. It also validates that at least one activity is present when using the `new` method. Fixes twilight-rs#858.
7596ff
added a commit
to 7596ff/twilight
that referenced
this issue
Jun 13, 2021
…wilight-rs#891) This PR removes the `Some` from `UpdateStatusInfo`, as the list is now required. It also validates that at least one activity is present when using the `new` method. Fixes twilight-rs#858.
7596ff
added a commit
to 7596ff/twilight
that referenced
this issue
Jun 13, 2021
…wilight-rs#891) This PR removes the `Some` from `UpdateStatusInfo`, as the list is now required. It also validates that at least one activity is present when using the `new` method. Fixes twilight-rs#858.
7596ff
added a commit
to 7596ff/twilight
that referenced
this issue
Jun 13, 2021
…wilight-rs#891) This PR removes the `Some` from `UpdateStatusInfo`, as the list is now required. It also validates that at least one activity is present when using the `new` method. Fixes twilight-rs#858.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
c-model
Affects the model crate
d-api
Change related to Discord's API.
m-breaking change
Breaks the public API.
A list of activities is required when updating the current user's status, per discord/discord-api-docs#2789. We currently have this wrapped in an
Option
.The text was updated successfully, but these errors were encountered: