disagreement/docs/voice_features.md
2025-06-10 20:50:23 -06:00

21 lines
612 B
Markdown

# Voice Features
Disagreement includes experimental support for connecting to voice channels. You can join a voice channel and play audio using an :class:`AudioSource`.
```python
voice = await client.join_voice(guild_id, channel_id)
await voice.play_file("welcome.mp3")
await voice.play_file("another.mp3") # switch sources while connected
await voice.close()
```
Voice support is optional and may require additional system dependencies such as FFmpeg.
## Next Steps
- [Components](using_components.md)
- [Slash Commands](slash_commands.md)
- [Caching](caching.md)
- [HTTP Client Options](http_client.md)