From 3eafe9d766ca7ba38a46a56991d87eb416f54e4c Mon Sep 17 00:00:00 2001 From: marzavec Date: Thu, 28 Dec 2023 23:17:33 -0800 Subject: [PATCH] added hash of a modules source to help module output --- commands/core/help.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/core/help.js b/commands/core/help.js index dab5ba5..8152896 100644 --- a/commands/core/help.js +++ b/commands/core/help.js @@ -51,6 +51,7 @@ export async function run({ } else { reply += `# ${command.info.name} command:\n| | |\n|---:|---|\n`; reply += `|**Name:**|${command.info.name}|\n`; + reply += `|**Hash:**|${command.info.srcHash}|\n`; reply += `|**Aliases:**|${typeof command.info.aliases !== 'undefined' ? command.info.aliases.join(', ') : 'None'}|\n`; reply += `|**Category:**|${command.info.category.replace('../src/commands/', '').replace(/^\w/, (c) => c.toUpperCase())}|\n`; reply += `|**Required Parameters:**|${command.requiredData || 'None'}|\n`; diff --git a/package.json b/package.json index 61b70af..df14c18 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "dependencies": { "ascii-captcha": "^0.0.3", "enquirer": "^2.3.6", - "hackchat-server": "^2.3.0", + "hackchat-server": "^2.3.1", "http-server": "^14.1.0", "jsonwebtoken": "^9.0.2", "lowdb": "^3.0.0",