dolfies / discord.py-self

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

reading voice data when in voice channel #676

Open Ahrirg opened 3 months ago

Ahrirg commented 3 months ago

Summary

voice data reading when in voice channel

What is the feature request for?

The core library

The Problem

Be able to read voice data.

Would be good implementation expacialy when making things like Speach to Text bots, auto voice translation bots, voice activated moderation commands.

The Ideal Solution

Ideal Solution would be custom implemantation where you could read the voice data.

But having https://github.com/imayhaveborkedit/discord-ext-voice-recv work with discord.py-self should be much easier

The Current Solution

There is none, unless i am stupid and i cant read documentation...

Additional Context

i think discord-ext-voice-recv is not working right now because discord.py-self is forked from older version of discord.py, where as discord-ext-voice-recv needs discord.py 2.4.0, soo implementing features from discord.py 2.4.0 to discord.py-self shouldn't be that hard, but i am stupid as f soo i might be wrong

astolfoismywaifu commented 3 months ago

Isnt there already support? https://discordpy-self.readthedocs.io/en/latest/api.html?highlight=voice#voice-related

Ahrirg commented 3 months ago

Thx for reply. I might be wrong, but as far as i tryied, there is actually no way to recieve the audio (aka no sink as others call it), the current Audio Source is only for sending the data. I am quite new to the audio in coding so i might be wrong, but i never got it working atleast never with only discord.py-self.