forked from Supositware/Haha-Yes
update description
This commit is contained in:
parent
d7bf82ff07
commit
765afa2c5d
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue