From 6aa0640a9007da9c62b67d135f0ee98b700410b2 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 12 Oct 2019 16:49:07 +0200 Subject: [PATCH] rename command --- commands/fun/{vidshittifyer.js => vidshittifier.js} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename commands/fun/{vidshittifyer.js => vidshittifier.js} (89%) diff --git a/commands/fun/vidshittifyer.js b/commands/fun/vidshittifier.js similarity index 89% rename from commands/fun/vidshittifyer.js rename to commands/fun/vidshittifier.js index 879284af..d2704bc9 100644 --- a/commands/fun/vidshittifyer.js +++ b/commands/fun/vidshittifier.js @@ -4,10 +4,10 @@ const exec = util.promisify(require('child_process').exec); const youtubedl = require('youtube-dl'); const os = require('os'); -class vidshittifyerCommand extends Command { +class vidshittifierCommand extends Command { constructor() { - super('vidshittifyer', { - aliases: ['vidshittifyer', 'vs', 'shittifyer', 'vid2shit', 'v2s'], + super('vidshittifier', { + aliases: ['vidshittifier', 'vs', 'shittifier', 'vid2shit', 'v2s'], category: 'fun', args: [ { @@ -60,13 +60,13 @@ class vidshittifyerCommand extends Command { loadingmsg.delete(); return message.channel.send('An error has occured, I can\'t download from the link you provided.'); } - shittify(); + shittifie(); }); } else { return message.channel.send('You need a valid video link!'); } - function shittify() { + function shittifie() { exec(`ffmpeg -i ${input} ${option} -vcodec libx264 -r 5 -r 15 ${output}`) .then(() => { loadingmsg.delete(); @@ -82,4 +82,4 @@ class vidshittifyerCommand extends Command { } } -module.exports = vidshittifyerCommand; \ No newline at end of file +module.exports = vidshittifierCommand; \ No newline at end of file