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',
if(!message.channel.nsfw&&!args.force)returnmessage.channel.send('Please execute this command in an NSFW channel ( Content might not be NSFW but since the video are user submitted better safe than sorry ) OR --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');
letloadingmsg=awaitmessage.channel.send(`Processing, this can take a **long** time, i'll ping you when i finished <a:loadingmin:527579785212329984>\nSome info: There is currently ${mp4.length} videos, you can add yours by doing \`\`${prefix[0]}ytp --add (link or attachment)\`\``);
letoptions={
debug:false,// Better set this to false to avoid flood in console
MAX_STREAM_DURATION:Math.floor((Math.random()*3)+1),// Random duration of video clip
sources:'./asset/ytp/sources/',
sounds:'./asset/ytp/sounds/',
music:'./asset/ytp/music/',
resources:'./asset/ytp/resources/',
temp:os.tmpdir(),
sourceList:asset,
outro:'./asset/ytp/outro.mp4',// Need an outro or it won't work