Skip to content

fix: add guild_id back to GatewayVoiceStateUpdateDispatchData #1346

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ducktrshessami
Copy link

Please describe the changes this PR makes and why it should be merged:
#1290 accidentally stripped the guild_id from GatewayVoiceStateUpdateDispatchData. After re-adding this back, I noticed it loops back around to being 1:1 with APIVoiceState making the whole change to GatewayVoiceStateUpdateDispatchData unnecessary in the first place.

As for how GatewayVoiceStateUpdateDispatchData was used in GatewayGuildCreateDispatchData, I noticed the aforementioned PR already looped back around to APIVoiceStateMember#member being the same as it was originally as APIBaseVoiceState#member. So, the changes to GatewayGuildCreateDispatchData and APIBaseVoiceState were also unnecessary.

Therefore, this partially reverts #1290.

If applicable, please reference Discord API Docs PRs or commits that influenced this PR:

Copy link

vercel bot commented Aug 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
discord-api-types Ready Ready Preview Comment Aug 23, 2025 7:41pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant