diff options
Diffstat (limited to 'src/commands/playback.rs')
| -rw-r--r-- | src/commands/playback.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/playback.rs b/src/commands/playback.rs index 48f3286..70dd704 100644 --- a/src/commands/playback.rs +++ b/src/commands/playback.rs @@ -78,7 +78,8 @@ pub async fn _play(ctx: PoiseContext<'_>, url: &url::Url) -> anyhow::Result<()> data.get::<HttpKey>().unwrap().clone() }; - let input = YoutubeDl::new_ytdl_like("yt-dlp", client.clone(), url.to_string()); + let input = + YoutubeDl::new_ytdl_like(&crate::config::YTDL_COMMAND, client.clone(), url.to_string()); call.enqueue_input(input.into()).await; util::react(ctx, ReactionType::Unicode("📣".to_owned())).await?; |
