Alchemy.Voice.play_file
You're seeing just the function
play_file
, go back to Alchemy.Voice module for more information.
Link to this function
play_file(guild, file_path, options \\ [])
Specs
play_file(snowflake(), Path.t(), audio_options()) :: :ok | {:error, String.t()}
Starts playing a music file on a guild's voice connection.
Returns an error if the client isn't connected to the guild, or if the file does not exist.
Examples
Voice.join("666", "666")
Voice.play_file("666", "cool_song.mp3")