diff --git a/commands/reload.js b/commands/reload.js index 8ea1693..80addfe 100644 --- a/commands/reload.js +++ b/commands/reload.js @@ -21,7 +21,7 @@ module.exports = { handle (client, config, user, args) { if (user.id === config.ownerID) { - if (!args) return client.generateErrorMessage('You forgot to provide anything to reload, you pillock', user.displayAvatarURL()); + if (!args.length) return client.generateErrorMessage('You forgot to provide anything to reload, you pillock', user.displayAvatarURL()); let returnMessage = ''; args.forEach(async (arg) => {