aboutsummaryrefslogtreecommitdiff
path: root/src/commands/meme/create.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/meme/create.rs')
-rw-r--r--src/commands/meme/create.rs4
1 files changed, 2 insertions, 2 deletions
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)