Connecting to a voice channel and sending audio in

2019-07-08 05:02发布

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)?

1条回答
孤傲高冷的网名
2楼-- · 2019-07-08 05:54

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.

查看更多
登录 后发表回答