This example follows the setup of Example 2 and adds BASIC audio functions
- Connect to a voice channel via the
Joincommand - Play a local audio file using the
Playcommand - Record user voice data with the
Recordcommand
- The Bot Token is loaded via a text file. This is one option to avoid hard-coding your token
- Dependency Injection is used, including logging and the command handler as example services.
- Audio service adds basic audio functions. Requires
ffmpeg.exeto play the sample audio provided. - The AudioModule includes commands
join,leaveandplay. libsodium.dllandopus.dllare required for connecting to the audio channel