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

Serialize activity type #38

Merged
merged 3 commits into from
Jul 26, 2024

Conversation

leo60228
Copy link
Contributor

@leo60228 leo60228 commented Jul 26, 2024

Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

As of today, Discord now respects the type field in SET_ACTIVITY commands. It thus presumably no longer makes sense to have #[serde(skip_serializing)] set on it.

I would like a project of mine that uses this crate to be able to use ActivityKind::Listening (and have tested this with this PR).

Related Issues

Closes: #39

@leo60228 leo60228 requested a review from Jake-Shadle as a code owner July 26, 2024 04:44
Copy link
Member

@Jake-Shadle Jake-Shadle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Jake-Shadle Jake-Shadle merged commit cbda144 into EmbarkStudios:main Jul 26, 2024
8 checks passed
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.

“Listening” etc. statuses now available
2 participants