aboutsummaryrefslogtreecommitdiff
path: root/src/commands/meme/create.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2022-11-29 10:59:06 -0500
committerNathan Perry <np@nathanperry.dev>2022-11-29 10:59:06 -0500
commitf7155b7372f9007a378cb07d5acdc1abcc8cc7f1 (patch)
tree6981ff28abe928cb3b2cef1f31ed5cadbc7c5c68 /src/commands/meme/create.rs
parentf15a23587dd474c539e4ec3bc3a10d0a22b2ae55 (diff)
fs: parameterize remote references
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)