forked from Supositware/Haha-Yes
Fix args.vid to args.link
This commit is contained in:
parent
6ed551343d
commit
8fe918ddfa
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue