dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
720 stars 165 forks source link

Ability to record voice channels #720

Open mosaiyka opened 4 months ago

mosaiyka commented 4 months ago

Summary

Ability to record voice channels

What is the feature request for?

discord.ext.tasks

The Problem

A function to record user voices in voice channels.

The Ideal Solution

I can’t imagine how to implement this, I tried many ways, both purely through websockets and libraries. It doesn't work out, unfortunately

The Current Solution

No response

Additional Context

No response

populated commented 3 months ago

pycord has a recording feature for VCs, you could try to implement it into your code as of now as a temporary solution, until this possibly gets looked at. Even though it's not a self-client, it should still technically work for user accounts.

https://github.com/Pycord-Development/pycord/blob/2815e9bb1c0a9da8c2ba652401c45198c5e4e644/discord/voice_client.py#L747

dolfies commented 3 months ago

Implementing voice receive properly is quite difficult and low on the priority list. All existing implementation attempts have plenty of issues (see all the dpy issues/PRs on this topic) including the pycord one, which just mostly yoinked a dpy PR.

PRs are always welcome if you're willing to put in time to reverse engineer it :)