update description

This commit is contained in:
loicbersier 2019-10-27 23:19:02 +01:00
parent d7bf82ff07
commit 765afa2c5d

View file

@ -27,7 +27,7 @@ class ytpCommand extends Command {
} }
], ],
description: { description: {
content: 'Generate random ytp (--add with a link or attachment to add a video to the pool, only .mp4 work)', 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 ',
usage: '', usage: '',
examples: [''] examples: ['']
} }
@ -36,7 +36,7 @@ class ytpCommand extends Command {
async exec(message, args) { async exec(message, args) {
if (args.pool) { if (args.pool) {
return message.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)\`\``); return message.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)\`\``);
} }
if (args.add) { if (args.add) {