[−][src]Function serenity::voice::ytdl_search
pub async fn ytdl_search<'_>(name: &'_ str) -> Result<Box<dyn AudioSource>>
Creates a streamed audio source from YouTube search results with youtube-dl
,ffmpeg
, and ytsearch
.
Takes the first video listed from the YouTube search.