Fix args.vid to args.link

This commit is contained in:
loicbersier 2020-07-26 11:52:42 +02:00
parent 6ed551343d
commit 8fe918ddfa

View file

@ -33,8 +33,8 @@ class vidshittyfierCommand extends Command {
async exec(message, args) { async exec(message, args) {
let vid; let vid;
if (args.vid) if (args.link)
vid = args.vid.href; vid = args.link.href;
else else
vid = await attachment(message); vid = await attachment(message);