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

List of activities is required when updating status #858

Closed
zeylahellyer opened this issue Jun 2, 2021 · 0 comments · Fixed by #891
Closed

List of activities is required when updating status #858

zeylahellyer opened this issue Jun 2, 2021 · 0 comments · Fixed by #891
Assignees
Labels
c-model Affects the model crate d-api Change related to Discord's API. m-breaking change Breaks the public API.

Comments

@zeylahellyer
Copy link
Member

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.

@zeylahellyer zeylahellyer added c-model Affects the model crate m-breaking change Breaks the public API. d-api Change related to Discord's API. labels Jun 2, 2021
@7596ff 7596ff self-assigned this Jun 6, 2021
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.
@7596ff 7596ff linked a pull request Jun 6, 2021 that will close this issue
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 7596ff closed this as completed Jun 8, 2021
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants