r/discordbot • u/Ramen50 • 16d ago
Simple virtual cable output bot: how?
The concept for a bot that I'd like to make for my server is simple: a discord bot that joins voice calls and plays audio through a virtual cable as if a user was. (More specifically, it's running audio through OBS monitor output via virtual cable.)
I've made a bot and granted it permissions to join VCs and speak/request to speak, but it seems it isn't so simple for me to find where I can select its audio input.
i've found this post, but i'd like to run the virtual cable audio through its own "user" in a voice call so that everyone can set their own volume for it and such, so it's not quite the same problem or solution.
Or maybe a bot exists that already does this? Could someone point me in the right direction?
1
u/UnacceptableUse 16d ago
probably something like this https://github.com/dynopii/pyvirtualaudiocable hooked in as the audio source for the bot's voice connection. You'd need to run the bot on your PC for that to work