@ -100,12 +100,16 @@ class ytpCommand extends Command {
{
{
id:'link',
id:'link',
type:'string'
type:'string'
},
{
id:'max',
type:'string'
}
}
],
],
description:{
description:{
content:'Generate random ytp | --add with a link or attachment to add a video to the pool, only .mp4 work | --pool to see how many vid there is currently in the pool | --force to make the command work outside of nsfw channel BE AWARE THAT IT WON\'T CHANGE THE FINAL RESULT SO NSFW CAN STILL HAPPEN',
content:'Generate random ytp | --add with a link or attachment to add a video to the pool, only .mp4 work | --pool to see how many vid there is currently in the pool | --force to make the command work outside of nsfw channel BE AWARE THAT IT WON\'T CHANGE THE FINAL RESULT SO NSFW CAN STILL HAPPEN',
usage:'',
usage:'(OPTIONAL) | [Minimum length of clip] [Max length of clip]',
examples:['']
examples:['5 10']
}
}
});
});
}
}
@ -209,7 +213,8 @@ class ytpCommand extends Command {
letoptions={
letoptions={
debug:args.debug,
debug:args.debug,
MAX_STREAM_DURATION:args.link?args.link:Math.floor((Math.random()*3)+1),// Random duration of video clip