Discord Elixir v1.1.18 DiscordEx.Voice.Controller View Source
Voice control to make voice interaction a lot easier.
Link to this section Summary
Link to this section Functions
Play some audio to a channel
Parameters
- voice_client: The voice client so the library knows how to play it and where to
- path: The path where your audio file lives
- opts: Options like volume
Examples
DiscordEx.Controller.play(voice_client, "/my/awesome/audio.wav", %{volume: 128})