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(Activity): platform type #7805

Merged
merged 2 commits into from
Apr 21, 2022
Merged

Conversation

xHyroM
Copy link
Contributor

@xHyroM xHyroM commented Apr 16, 2022

Please describe the changes this PR makes and why it should be merged:
Fix #7803

I deleted the ActivityPlatform type and added string. But if discord doesn't want to document id, sync_id, platform and even session_id as stated in discord/discord-api-docs@5822b0b shouldn't we delete them?

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

@vladfrangu
Copy link
Member

vladfrangu commented Apr 19, 2022

Well this is slightly annoying... in -types we have https://github.com/discordjs/discord-api-types/blob/main/payloads/v10/gateway.ts#L211 but if it's not gonna be documented properly, might have to make it a string there too... 😕 to be seen, but approving here as it makes most sense

@iCrawl iCrawl merged commit 4ac91c6 into discordjs:main Apr 21, 2022
Jiralite added a commit to suneettipirneni/guide that referenced this pull request Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Accept PS4 and PS5 values for ActivityPlatform type.
5 participants