From 4593f224f52c36ad041eb46acc2879a70b017153 Mon Sep 17 00:00:00 2001 From: Kry9toN Date: Thu, 21 Jan 2021 13:22:56 +0700 Subject: [PATCH] add fluent-ffmpeg --- command/sticker.js | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/command/sticker.js b/command/sticker.js index 4ba846c..c78dffc 100644 --- a/command/sticker.js +++ b/command/sticker.js @@ -1,6 +1,7 @@ /* eslint-disable no-mixed-operators */ const { exec } = require('child_process') const { getRandom } = require('../utils/functions') +const ffmpeg = require('fluent-ffmpeg') module.exports = { name: 'sticker', diff --git a/package.json b/package.json index d121e9a..0556ae2 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,8 @@ "cfonts": "^2.9.1", "node-fetch": "^2.6.1", "pg": "^8.5.1", - "child_process": "^1.0.2" + "child_process": "^1.0.2", + "fluent-ffmpeg": "^2.1.2" }, "devDependencies": { "babel-eslint": "^10.1.0",