Skip to content

refactor(voice): Rewrite Voice Internals & DAVE Support#2873

Draft
DA-344 wants to merge 55 commits intoPycord-Development:masterfrom
DA-344:feat/voice-rewrite-and-fixes
Draft

refactor(voice): Rewrite Voice Internals & DAVE Support#2873
DA-344 wants to merge 55 commits intoPycord-Development:masterfrom
DA-344:feat/voice-rewrite-and-fixes

Conversation

@DA-344
Copy link
Contributor

@DA-344 DA-344 commented Aug 21, 2025

Summary

If you don't want your code to explode or something similar, don't use this PR, thanks. ;)

WIP.

A rewrite to its internals to fix various things.

I don't expect this to be merged on 2.7, so it should not block it

This is partially inspired on discord.py's voice code & imayhaveborkedit/voice-recv

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

Related

Fixes #2833

@DA-344 DA-344 changed the title Voice internals rewrite to fix things fix(voice): Voice internals rewrite to fix things Aug 26, 2025
@DA-344 DA-344 force-pushed the feat/voice-rewrite-and-fixes branch from c461cbf to a324844 Compare September 12, 2025 13:10
@Lulalaby Lulalaby linked an issue Oct 27, 2025 that may be closed by this pull request
@Lulalaby Lulalaby added this to the v2.8 milestone Dec 24, 2025
@Lulalaby Lulalaby removed the on hold label Dec 24, 2025
@Paillat-dev Paillat-dev added priority: medium Medium Priority voice Related to the voice chat feature labels Dec 25, 2025
@Paillat-dev Paillat-dev added priority: high High Priority and removed priority: medium Medium Priority labels Feb 7, 2026
@Paillat-dev
Copy link
Member

@DA-344

This is partially inspired on discord.py's voice code & imayhaveborkedit/voice-recv

This is completely fine for the record, but make sure to update the license on top of the file if substantial portions of code are taken from there.

Also, I pushed a couple small fixes to make CI pass, feel free to force push if they conflict w/anything you have locally

@Paillat-dev Paillat-dev changed the title fix(voice): Voice internals rewrite to fix things feat(voice): Voice internals rewrite to fix things Feb 16, 2026
@Paillat-dev Paillat-dev self-assigned this Feb 19, 2026
@DA-344 DA-344 force-pushed the feat/voice-rewrite-and-fixes branch from d565ce5 to bcc841d Compare February 26, 2026 17:24
@DA-344 DA-344 changed the title feat(voice): Voice internals rewrite to fix things refactor(voice): Rewrite Voice Internals & DAVE Support Feb 26, 2026
@@ -0,0 +1,8 @@
from .reader import AudioReader
Copy link
Member

Choose a reason for hiding this comment

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

Copyright



<<<<<<< HEAD
def deprecated(
Copy link
Member

Choose a reason for hiding this comment

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

Leftover


Events
------
These section outlines all the available sink events.
Copy link
Member

Choose a reason for hiding this comment

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

Nice !

__all__ = ("VoiceProtocol", "VoiceClient")


if TYPE_CHECKING:
Copy link
Member

Choose a reason for hiding this comment

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

Instead of this could just import inside the method. Would be clearer imo ? Wdyt

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

Labels

priority: high High Priority voice Related to the voice chat feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Voice Rewrite Voice Related Bugs & Requests Bot can't connect to voice chat Opus Decode Errors

3 participants