enable to use --size without link

This commit is contained in:
loicbersier 2020-03-11 00:54:51 +01:00
parent b85784706e
commit a811f8f749

View file

@ -11,15 +11,15 @@ class audio2imageCommand extends Command {
category: 'fun', category: 'fun',
clientPermissions: ['SEND_MESSAGES', 'ATTACH_FILES'], clientPermissions: ['SEND_MESSAGES', 'ATTACH_FILES'],
args: [ args: [
{
id: 'link',
type: 'string',
},
{ {
id: 'video_size', id: 'video_size',
match: 'option', match: 'option',
flag: '--size', flag: '--size',
default: '640x480' default: '640x480'
},
{
id: 'link',
type: 'string',
} }
], ],
description: { description: {