From f7155b7372f9007a378cb07d5acdc1abcc8cc7f1 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Tue, 29 Nov 2022 10:59:06 -0500 Subject: fs: parameterize remote references --- src/commands/meme/create.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands') diff --git a/src/commands/meme/create.rs b/src/commands/meme/create.rs index dce5213..06cc4ef 100644 --- a/src/commands/meme/create.rs +++ b/src/commands/meme/create.rs @@ -38,7 +38,7 @@ use crate::{ Image, NewMeme, }, - util::CtxExt, + util::CtxExt, FFMPEG_COMMAND, }; lazy_static! { @@ -124,7 +124,7 @@ pub fn addaudiomeme(ctx: &mut Context, msg: &Message, args: Args) -> Result<()> vec! [] }; - let ffmpeg_command = Command::new("ffmpeg") + let ffmpeg_command = Command::new(&*FFMPEG_COMMAND) .arg("-i") .arg(youtube_url) .args(duration_opts) -- cgit v1.3.1