Connecting to a voice channel and sending audio in Discord.net

16,814

If someone is looking for Audio example it's here. You also need opus and libsodium in bot running directory. You can get this libraries on Discord "Discord API" sever with command ?tag voice-natives.

Share:
16,814
Admin
Author by

Admin

Updated on June 04, 2022

Comments

  • Admin
    Admin almost 2 years

    After looking for hours I still can't find how should I set up sending an audio using Discord.net 1.0. All of the solutions I encountered have been for pre-1.0 relases and as far as I can see, new API is completly different.

    So my question is: How do i join voice channel and send music through? Do I need external libraries (NAudio)?