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) {
|
||||
let vid;
|
||||
if (args.vid)
|
||||
vid = args.vid.href;
|
||||
if (args.link)
|
||||
vid = args.link.href;
|
||||
else
|
||||
vid = await attachment(message);
|
||||
|
||||
|
|
Loading…
Reference in a new issue