From 8f1a53ba83707d2a8c7377e83946505506a4956e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 8 Mar 2021 16:45:52 -0500 Subject: [PATCH] Fix --- commands/analyze/is-it-down.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/analyze/is-it-down.js b/commands/analyze/is-it-down.js index d15bbe2f..73fea3c5 100644 --- a/commands/analyze/is-it-down.js +++ b/commands/analyze/is-it-down.js @@ -20,7 +20,7 @@ module.exports = class IsItDownCommand extends Command { ], args: [ { - key: 'url', + key: 'site', prompt: 'What URL do you want to test?', type: 'string', validate: site => Boolean(validURL.isWebUri(site)) @@ -29,7 +29,7 @@ module.exports = class IsItDownCommand extends Command { }); } - async run(msg, { url }) { + async run(msg, { site }) { const parsed = url.parse(site); try { const { text } = await request