Skip to content

Conversation

@RoniRaad
Copy link

Make sure you familiarize yourself with our contributing guidelines.

Summary

Fixes #issue/Resolves #issue/Implements functionality. Short description of changes.

Details

You can put detailed description of the changes in here.

Changes proposed

  • Outline
  • Your
  • Changes
  • Here

Notes

Any additional notes go here.

Copy link
Member

@Plerx2493 Plerx2493 left a comment

Choose a reason for hiding this comment

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

I have only looked at it from a codestyle perspective because im not yet familiar with DAVE/MLS etc. Its mostly nitpicks i guess

…lect protocol. Changed some variable names to be more clear.
Copy link
Member

@akiraveliara akiraveliara left a comment

Choose a reason for hiding this comment

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

generally looks good, but i question whether we need all those payload types there considering they're all the same structure + an interior Data field. could we just have an InboundVoicePayload and OutboundVoicePayload with an object Data (and subsequently reuse the already-existing payload objects in the Protocol folder, perhaps, or remove those in this PR)

@RoniRaad
Copy link
Author

RoniRaad commented Aug 30, 2025

generally looks good, but i question whether we need all those payload types there considering they're all the same structure + an interior Data field. could we just have an InboundVoicePayload and OutboundVoicePayload with an object Data (and subsequently reuse the already-existing payload objects in the Protocol folder, perhaps, or remove those in this PR)

yeah, honestly it was just easier to create those types by just converting the json. Ideally a DiscordMessage[TPayload] would be better

@akiraveliara
Copy link
Member

try to avoid confusion with DSharpPlus.Entities.DiscordMessage please :P
but yeah fair enough, then move these into the Protocol folder and remove the existing ones. there should be some indication that this is for dave v0~1, ideally

Copy link
Member

@akiraveliara akiraveliara left a comment

Choose a reason for hiding this comment

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

ideally, xmldocs should be complete and correct sentences, and xmldoc blocks should have a newline above them, but i can also take care of these at a later point

@RoniRaad RoniRaad marked this pull request as ready for review August 30, 2025 22:20
@akiraveliara akiraveliara merged commit abe4f52 into DSharpPlus:voice-rewrite Aug 30, 2025
2 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.

3 participants