@ -16,6 +16,11 @@ class ytpCommand extends Command {
match:'flag',
flag:['--add']
},
{
id:'pool',
match:'flag',
flag:['--pool']
},
{
id:'link',
type:'string'
@ -30,6 +35,10 @@ class ytpCommand extends Command {
}
asyncexec(message,args){
if(args.pool){
returnmessage.channel.send(`here is currently ${fs.readdirSync('./asset/ytp/userVid/').length} videos, you can add yours by doing \`\`${prefix[0]} ytp --add (link or attachment)\`\``);