Update closeall.js

This commit is contained in:
Oliver Cordingley 2021-01-24 22:15:50 +00:00 committed by GitHub
parent 89d0bac235
commit 86578331f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,9 +21,9 @@ const toTime = require('to-time-monthsfork');
module.exports = { module.exports = {
name: 'closeall', name: 'closeall',
description: 'Closes all currently open tickets older than a specified time length', description: 'Closes all currently open tickets older than a specified time length',
usage: '<timestamp>', usage: '[time]',
aliases: ['ca'], aliases: ['ca'],
example: 'closeall 1y 2m', example: 'closeall 1y 2mo',
args: false, args: false,
disabled: !config.commands.closeall.enabled, disabled: !config.commands.closeall.enabled,
async execute(client, message, args, { async execute(client, message, args, {
@ -257,4 +257,4 @@ module.exports = {
} }
}, },
}; };