From 8fe918ddfa04175784e13cb2d01765d6e9f84335 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sun, 26 Jul 2020 11:52:42 +0200 Subject: [PATCH] Fix args.vid to args.link --- commands/fun/vidshittyfier.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/fun/vidshittyfier.js b/commands/fun/vidshittyfier.js index 1eb8d4cf..0c07a551 100644 --- a/commands/fun/vidshittyfier.js +++ b/commands/fun/vidshittyfier.js @@ -33,8 +33,8 @@ class vidshittyfierCommand extends Command { async exec(message, args) { let vid; - if (args.vid) - vid = args.vid.href; + if (args.link) + vid = args.link.href; else vid = await attachment(message);